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

Kumar Gala kumar.gala at freescale.com
Sun Dec 14 10:49:03 EST 2008


On Dec 11, 2008, at 6:15 PM, Josh Boyer wrote:

> On Mon, 08 Dec 2008 16:39:52 +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 ;-)
>>
>> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
>
> Acked-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
>
> Kumar, feel free to take this through your tree.
>
> josh

applied to next

- k



More information about the Linuxppc-dev mailing list