]> www.infradead.org Git - users/willy/linux.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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 20:00:32 +0000 (16:00 -0400)
commit94f959fff847955bea102b9c38b3708439505d07
treef594bc9e63989071b8a2a9201eeb43902e9455a5
parentb78717b557b7c020a92619adf6e2964896a6fd83
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