]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: simplify arch_get_unmapped_area[_topdown]
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Apr 2017 16:14:48 +0000 (18:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 25 Apr 2017 12:08:19 +0000 (14:08 +0200)
commiteb3b32c707f76a93b8ad22454e605c1de1fc4f1f
tree6bb75184eb060764ce541da98adcc405af04352f
parent0579ccf225958c675f959e23370d1854ff0c3aac
s390/mm: simplify arch_get_unmapped_area[_topdown]

With TASK_SIZE now reflecting the maximum size of the address space for
a process the code for arch_get_unmapped_area[_topdown] can be simplified.
Just let the logic pick a suitable address and deal with the page table
upgrade after the address has been selected.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/mmap.c