diff --git a/mm/mmap.c b/mm/mmap.c index 9d548512ff8a30498ce07f2e536f765e8bd54cca..fa206abb5c9de3614090732c9576303ea343facf 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1872,7 +1872,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, info.flags = 0; info.length = len; - info.low_limit = TASK_UNMAPPED_BASE; + info.low_limit = mm->mmap_base; info.high_limit = TASK_SIZE; info.align_mask = 0; return vm_unmapped_area(&info);