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

Steven A. Falco sfalco at harris.com
Wed Dec 3 02:41:23 EST 2008


Kumar Gala wrote:
> 
> 
> On Dec 1, 2008, at 12:01 AM, Benjamin Herrenschmidt 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 ;-)
>>
>> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

I'm running with your patch on a 440 Sequoia board, and it
works fine for me.

Acked-by: Steven A. Falco <sfalco at harris.com>

	Steve




More information about the Linuxppc-dev mailing list