[PATCH v2 0/5] powerpc VA allocator fixes for 512TB support

Nicholas Piggin npiggin at gmail.com
Fri Nov 10 04:27:35 AEDT 2017


After clarifying the intended semantics, the previous patch series
went the wrong way with MAP_FIXED handling, so I fixed that.

This series is not quite ready for merge. I prefer to see what x86
does exactly because it also has some fixes to make. But time is
becoming short before 4.14, so I'd like to get some more review and
testing so we can be ready.

Thanks,
Nick

Nicholas Piggin (5):
  powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case
    allocation
  powerpc/64s/hash: Fix fork() with 512TB process address space
  powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
  powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case
    allocation
  powerpc/64s: mm_context.addr_limit is only used on hash

 arch/powerpc/include/asm/book3s/64/mmu-hash.h |  2 +-
 arch/powerpc/include/asm/book3s/64/mmu.h      |  2 +-
 arch/powerpc/include/asm/paca.h               |  2 +-
 arch/powerpc/kernel/asm-offsets.c             |  2 +-
 arch/powerpc/kernel/paca.c                    |  4 +-
 arch/powerpc/kernel/setup-common.c            |  3 +-
 arch/powerpc/mm/hugetlbpage-radix.c           | 20 +++++----
 arch/powerpc/mm/mmap.c                        | 49 ++++++++++-----------
 arch/powerpc/mm/mmu_context_book3s64.c        |  8 ++--
 arch/powerpc/mm/slb_low.S                     |  2 +-
 arch/powerpc/mm/slice.c                       | 62 +++++++++++++--------------
 11 files changed, 79 insertions(+), 77 deletions(-)

-- 
2.15.0



More information about the Linuxppc-dev mailing list