linux/arch
David Gibson 5e391dc9e3 [PATCH] powerpc: fix for hugepage areas straddling 4GB boundary
Commit 7d24f0b8a5 fixed bugs in the ppc64 SLB
miss handler with respect to hugepage handling, and in the process tweaked
the semantics of the hugepage address masks in mm_context_t.

Unfortunately, it left out a couple of necessary changes to go with that
change.  First, the in_hugepage_area() macro was not updated to match,
second prepare_hugepage_range() was not updated to correctly handle
hugepages regions which straddled the 4GB point.

The latter appears only to cause process-hangs when attempting to map such
a region, but the former can cause oopses if a get_user_pages() is
triggered at the wrong point.  This patch addresses both bugs.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-23 16:08:39 -08:00
..
alpha
arm
arm26
cris
frv
h8300
i386 [PATCH] kprobes: Fix return probes on sys_execve 2005-11-23 16:08:39 -08:00
ia64 [PATCH] kprobes: Fix return probes on sys_execve 2005-11-23 16:08:39 -08:00
m32r
m68k
m68knommu
mips
parisc
powerpc [PATCH] powerpc: fix for hugepage areas straddling 4GB boundary 2005-11-23 16:08:39 -08:00
ppc
s390
sh
sh64
sparc [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
sparc64 [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
um
v850
x86_64 [PATCH] kprobes: Fix return probes on sys_execve 2005-11-23 16:08:39 -08:00
xtensa