]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmap: Change zeroing of maple tree in __vma_adjust
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 6 Sep 2021 03:31:15 +0000 (23:31 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 1 Oct 2021 16:41:53 +0000 (12:41 -0400)
commit0da860625a5d3091914cca969646bbf9f4462ffb
tree618cd4515485ee30a63a5dd8fdb87a1850cad9b6
parent693d594b824c86e7fba4ccd811c1724eb17d7866
mmap: Change zeroing of maple tree in __vma_adjust

Only write to the maple tree if we are not inserting or the insert isn't
going to overwrite the area to clear.  This avoids spanning writes and
node coealescing when unnecessary.

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