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)
commit8309ce7280536b07716026ff588acbcc0ee1a546
tree7bc02b60cb65fb0e4e0675a03c8307d400e694cf
parent361425fc32422c9716fc69e52455b7d44fc02c18
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