kernel-ark/arch/powerpc
David Gibson cbf52afdc0 [PATCH] powerpc: Add missing icache flushes for hugepages
On most powerpc CPUs, the dcache and icache are not coherent so
between writing and executing a page, the caches must be flushed.
Userspace programs assume pages given to them by the kernel are icache
clean, so we must do this flush between the kernel clearing a page and
it being mapped into userspace for execute.  We were not doing this
for hugepages, this patch corrects the situation.

We use the same lazy mechanism as we use for normal pages, delaying
the flush until userspace actually attempts to execute from the page
in question.

Tested on G5.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-12-09 16:30:48 +11:00
..
boot [PATCH] ppc boot: replace string labels with numbers 2005-11-18 13:18:16 +11:00
configs powerpc: Move defconfig over and remove remaining arch/ppc64 files 2005-11-18 16:39:08 +11:00
kernel [PATCH] powerpc: Set cache info defaults 2005-12-09 15:42:52 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms [PATCH] powerpc: Remove debug code in hash path 2005-12-08 16:57:47 +11:00
sysdev [PATCH] powerpc: update my email address 2005-11-23 21:23:20 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] powerpc: correct the NR_CPUS description text 2005-12-02 14:51:35 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: remove arch/powerpc/include hack for 64 bit 2005-11-25 22:11:23 +11:00