]> 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>
Wed, 20 Jul 2022 02:17:53 +0000 (02:17 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 6 Sep 2022 19:44:23 +0000 (15:44 -0400)
commit82baafc9f0d1bf6270c23345a5725af4a399d466
treed2e02e804f39f6aea76391c6565f735f49fffb2d
parentaa673db4b1fba6ee0b3e406460f3a3f923963814
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