[PATCH] powerpc: Fix bogus cache flushing on all 40x and BookE processors v2

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu Dec 4 23:33:14 EST 2008


On Thu, 04 Dec 2008 17:12:59 +1100
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> We were missing the CPU_FTR_NOEXECUTE bit in our cputable for all
> these processors. The result is that update_mmu_cache() would flush
> the cache for all pages mapped to userspace which is totally
> unnecessary on those processors since we already handle flushing
> on execute in the page fault path.
> 
> This should provide a nice speed up ;-)

Did you test it this time?  If so, how and what were the results?

josh



More information about the Linuxppc-dev mailing list