aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hugetlbpage-radix.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-11-10 04:27:38 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-11-13 23:35:06 +1100
commit35602f82d0c765f991420e319c8d3a596c921eb8 (patch)
treef8d5512981cebf04772e1a15030e3bae3599ee7e /arch/powerpc/mm/hugetlbpage-radix.c
parentpowerpc/64s/hash: Fix fork() with 512TB process address space (diff)
downloadlinux-dev-35602f82d0c765f991420e319c8d3a596c921eb8.tar.xz
linux-dev-35602f82d0c765f991420e319c8d3a596c921eb8.zip
powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
While mapping hints with a length that cross 128TB are disallowed, MAP_FIXED allocations that cross 128TB are allowed. These are failing on hash (on radix they succeed). Add an additional case for fixed mappings to expand the addr_limit when crossing 128TB. Fixes: f4ea6dcb08ea ("powerpc/mm: Enable mappings above 128TB") Cc: stable@vger.kernel.org # v4.12+ Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage-radix.c')
0 files changed, 0 insertions, 0 deletions