[PATCH] powerpc: Fix buglet with MMU hash management

Olof Johansson olof at lixom.net
Tue May 30 14:36:26 EST 2006


On Tue, May 30, 2006 at 02:14:19PM +1000, Benjamin Herrenschmidt wrote:

> This fixes by allowing the updating of the protection bits in the native
> hash handling to also set (but not clear) the "C" bit, and, in order to
> also improve performances in the general case, by always setting that
> bit on newly inserted hash PTE so that writeback really never happens.

Good catch!

However, you'll have a writeback on the R bit too, you should set that
together with C.


-Olof



More information about the Linuxppc-dev mailing list