]> 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>
Fri, 11 Feb 2022 03:38:07 +0000 (22:38 -0500)
commit206e8c5594c39f5c5e1e7893e5f7f36226fae9bb
treecb94d05722264b1c509cba72b390c168e4af5bec
parent9b6a847656ed3e81c654c55816c3c676ba79a51e
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