Re: [PATCH] powerpc: Fix buglet with MMU hash management
From: Olof Johansson <hidden>
Date: 2006-05-30 04:36:59
From: Olof Johansson <hidden>
Date: 2006-05-30 04:36:59
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