alistair23-linux/arch/powerpc/mm
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
..
4xx_mmu.c [PATCH] mm: powerpc init_mm without ptlock 2005-11-23 16:08:38 -08:00
44x_mmu.c
fault.c [PATCH] powerpc: Nicer printing of address at oops 2005-11-07 12:37:28 +11:00
fsl_booke_mmu.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
hash_low_32.S
hash_low_64.S [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hash_native_64.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hash_utils_64.c [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
hugetlbpage.c [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
imalloc.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
init_32.c powerpc: Move some extern declarations from C code into headers 2005-11-10 15:53:40 +11:00
init_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
lmb.c [PATCH] powerpc: Fixup debugging in lmb.c 2005-11-16 13:28:40 +11:00
Makefile
mem.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
numa.c [PATCH] powerpc/pseries: boot failures on numa if no memory on node 2005-12-08 16:54:39 +11:00
pgtable_32.c powerpc: import a fix from arch/ppc/mm/pgtable.c 2005-10-31 14:40:03 +11:00
pgtable_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
ppc_mmu_32.c [PATCH] ppc: Fix ppc32 build after 64K pages 2005-11-07 07:53:23 -08:00
slb.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
slb_low.S [PATCH] ppc64: Fix bug in SLB miss handler for hugepages 2005-11-07 07:53:23 -08:00
stab.c [PATCH] powerpc: remove redundant code in stab init 2005-12-05 15:41:35 +11:00
tlb_32.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00
tlb_64.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00