linux/arch/powerpc/mm
David Gibson 23ed6cb9a2 [PATCH] powerpc: Fix SLB flushing path in hugepage
On ppc64, when opening a new hugepage region, we need to make sure any
old normal-page SLBs for the area are flushed on all CPUs.  There was
a bug in this logic - after putting the new hugepage area masks into
the thread structure, we copied it into the paca (read by the SLB miss
handler) only on one CPU, not on all.  This could cause incorrect SLB
entries to be loaded when a multithreaded program was running
simultaneously on several CPUs.  This patch corrects the error,
copying the context information into the PACA on all CPUs using the mm
in question before flushing any existing SLB entries.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-12-09 16:57:35 +11:00
..
4xx_mmu.c [PATCH] mm: powerpc init_mm without ptlock 2005-11-23 16:08:38 -08:00
44x_mmu.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
Makefile [PATCH] powerpc: Some more fixes to allow building for a Book-E processor 2005-10-20 09:43:32 +10:00
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 powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
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: Fix SLB flushing path in hugepage 2005-12-09 16:57:35 +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
mem.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00
mmap.c powerpc: Merge arch/ppc64/mm to arch/powerpc/mm 2005-10-10 21:58:35 +10:00
mmu_context_32.c powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
mmu_context_64.c powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
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