android_kernel_xiaomi_sm8350/arch/powerpc/mm
Benjamin Herrenschmidt d1f5a77f2c [POWERPC] Fix size check for hugetlbfs
My "slices" address space management code that was added in the 2.6.22
implementation of get_unmapped_area() doesn't properly check that the
size is a multiple of the requested page size.  This allows userland to
create VMAs that aren't a multiple of the huge page size with hugetlbfs
(since hugetlbfs entirely relies on get_unmapped_area() to do that
checking) which leads to a kernel BUG() when such areas are torn down.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-10 21:04:42 +10:00
..
4xx_mmu.c
44x_mmu.c
fault.c [POWERPC] Allow exec faults on readable areas on classic 32-bit PowerPC 2007-07-22 21:30:58 +10:00
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S [POWERPC] Fix special PTE code for secondary hash bucket 2007-08-03 19:16:11 +10:00
hash_native_64.c [POWERPC] Move inline asm eieio to using eieio inline function 2007-07-10 00:33:14 -05:00
hash_utils_64.c [POWERPC] Fixes for the SLB shadow buffer code 2007-08-03 19:36:01 +10:00
hugetlbpage.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
init_32.c
init_64.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
lmb.c [POWERPC] Fix loop with unsigned long counter variable 2007-07-26 16:12:17 +10:00
Makefile
mem.c [POWERPC] Remove extra return statement 2007-07-10 22:01:01 +10:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c [POWERPC] Fix parse_drconf_memory() for 64-bit start addresses 2007-08-03 19:36:00 +10:00
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c
slb_low.S
slb.c [POWERPC] Fix potential duplicate entry in SLB shadow buffer 2007-08-10 21:04:07 +10:00
slice.c [POWERPC] Fix size check for hugetlbfs 2007-08-10 21:04:42 +10:00
stab.c [POWERPC] Move inline asm eieio to using eieio inline function 2007-07-10 00:33:14 -05:00
tlb_32.c powerpc: tlb_32.c build fix 2007-07-21 17:49:16 -07:00
tlb_64.c