]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix bogus cache flushing on all 40x and BookE processors v2
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Dec 2008 06:33:25 +0000 (17:33 +1100)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 15 Dec 2008 20:29:37 +0000 (14:29 -0600)
commit9760280e44cd19ac701d63f790baf4d6395dd1f4
tree7bc02b60cb65fb0e4e0675a03c8307d400e694cf
parent9dce755d0413093973110b909e50544f3a603434
powerpc: Fix bogus cache flushing on all 40x and BookE processors v2

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@kernel.crashing.org>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h