diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-02-26 07:39:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-08 08:22:59 +0300 |
commit | aafdf8479a7f09c988f38c426530456aabf73dd7 (patch) | |
tree | 2a47a7b9b11939660bafb53b84b7be1cdd13b7cf /lib/mpi/mpiutil.c | |
parent | 0f92374871e4f2c926866a680d6e79d8f8686343 (diff) | |
download | linux-aafdf8479a7f09c988f38c426530456aabf73dd7.tar.xz |
powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
commit 3b4d07d2674f6b4a9281031f99d1f7efd325b16d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions