linux_dsm_epyc7002/arch/powerpc/mm
Anton Blanchard 5a049f1490 powerpc: ppc64 address space capped at 32TB, mmap randomisation disabled
Commit fba2369e6c (mm: use vm_unmapped_area() on powerpc architecture)
has a bug in slice_scan_available() where we compare an unsigned long
(high_slices) against a shifted int. As a result, comparisons against
the top 32 bits of high_slices (representing the top 32TB) always
returns 0 and the top of our mmap region is clamped at 32TB

This also breaks mmap randomisation since the randomised address is
always up near the top of the address space and it gets clamped down
to 32TB.

Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Michel Lespinasse <walken@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-11-21 10:33:41 +11:00
..
40x_mmu.c
44x_mmu.c
dma-noncoherent.c mm/arch: use __free_reserved_page() to simplify the code 2013-11-13 12:09:03 +09:00
fault.c
fsl_booke_mmu.c
gup.c powerpc: Fix __get_user_pages_fast() irq handling 2013-11-21 10:33:37 +11:00
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage.c mm: remove obsolete comments about page table lock 2013-11-13 12:09:03 +09:00
icswx_pid.c
icswx.c
icswx.h
init_32.c powerpc/8xx: Fixing memory init issue with CONFIG_PIN_TLB 2013-10-28 21:11:22 -05:00
init_64.c
Makefile
mem.c
mmap.c
mmu_context_hash32.c
mmu_context_hash64.c
mmu_context_nohash.c
mmu_decl.h
numa.c mm: use pgdat_end_pfn() to simplify the code in arch 2013-11-13 12:09:03 +09:00
pgtable_32.c powerpc: handle pgtable_page_ctor() fail 2013-11-15 09:32:18 +09:00
pgtable_64.c powerpc: handle pgtable_page_ctor() fail 2013-11-15 09:32:18 +09:00
pgtable.c powerpc/8xx: Revert commit e0908085fc 2013-10-28 21:11:18 -05:00
ppc_mmu_32.c
slb_low.S
slb.c
slice.c powerpc: ppc64 address space capped at 32TB, mmap randomisation disabled 2013-11-21 10:33:41 +11:00
stab.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash_low.S
tlb_nohash.c