]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Change do_brk_munmap() to use do_mas_align_munmap()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 1 Dec 2020 02:30:04 +0000 (21:30 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 14 Mar 2022 18:49:45 +0000 (14:49 -0400)
commita377906b9902a4680c53936cf568f4e83f74f5a7
tree647fd295c796add90add82d002578957130d7621
parente71d958bf3741d1aa5144d3e9261d7f9d10a56b3
mm/mmap: Change do_brk_munmap() to use do_mas_align_munmap()

do_brk_munmap() has already aligned the address and has a maple tree
state to be used.  Use the new do_mas_align_munmap() to avoid
unnecessary alignment and error checks.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c