diff options
author | 2019-02-26 10:09:35 +0530 | |
---|---|---|
committer | 2019-02-26 16:26:29 +1100 | |
commit | 3b4d07d2674f6b4a9281031f99d1f7efd325b16d (patch) | |
tree | 89f5853509e93ff36e22d70928a1470549d6472c /arch/powerpc/include | |
parent | powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback (diff) | |
download | linux-dev-3b4d07d2674f6b4a9281031f99d1f7efd325b16d.tar.xz linux-dev-3b4d07d2674f6b4a9281031f99d1f7efd325b16d.zip |
powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
When doing top-down search the low_limit is not PAGE_SIZE but rather
max(PAGE_SIZE, mmap_min_addr). This handle cases in which mmap_min_addr >
PAGE_SIZE.
Fixes: fba2369e6ceb ("mm: use vm_unmapped_area() on powerpc architecture")
Reviewed-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions