kernel-ark/include
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
..
acpi
asm-alpha
asm-arm [ARM] sema_count() removal 2005-12-01 20:58:01 +00:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64 [IA64] - Make pfn_valid more precise for SGI Altix systems 2005-11-29 09:24:10 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC. 2005-12-01 11:05:15 +00:00
asm-parisc
asm-powerpc [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64
asm-xtensa
keys
linux [PATCH] V4L: Some funcions now static and I2C hw code for IR 2005-12-01 15:48:57 -08:00
math-emu
media [PATCH] V4L: Add workaround for Hauppauge PVR150 with certain NTSC tuner models 2005-12-01 15:48:58 -08:00
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video