kernel-ark/arch/powerpc/mm
David Gibson 9a94c5793a [PATCH] powerpc: More hugepage boundary case fixes
Blah.  The patch [0] I recently sent fixing errors with
in_hugepage_area() and prepare_hugepage_range() for powerpc itself has
an off-by-one bug.  Furthermore, the related functions
touches_hugepage_*_range() and within_hugepage_*_range() are also
buggy.  Some of the bugs, like those addressed in [0] originated with
commit 7d24f0b8a5 where we tweaked the
semantics of where hugepages are allowed.  Other bugs have been there
essentially forever, and are due to the undefined behaviour of '<<'
with shift counts greater than the type width (LOW_ESID_MASK could
return non-zero for high ranges with the right congruences).

The good news is that I now have a testsuite which should pick up
things like this if they creep in again.

[0] "powerpc-fix-for-hugepage-areas-straddling-4gb-boundary"

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-25 22:12:45 +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
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c
hugetlbpage.c [PATCH] powerpc: More hugepage boundary case fixes 2005-11-25 22:12:45 +11:00
imalloc.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
init_32.c
init_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
lmb.c
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
pgtable_32.c
pgtable_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
ppc_mmu_32.c
slb_low.S
slb.c
stab.c
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