]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Index VMAs starting at 0 in do_mas_align_munmap() sidetree
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 28 Apr 2023 09:11:36 +0000 (05:11 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 1 May 2023 23:35:27 +0000 (19:35 -0400)
commitd124cb5c499873d535a2f81ff58461d2d57c66cc
tree8c565d58452b9d03ad845c31aaab7a8273212b5e
parentf9a68f9e13d3e795e1e0ee57cc9621dfdc6fe095
mm: Index VMAs starting at 0 in do_mas_align_munmap() sidetree

Indexing the VMAs by number and not address allows for no allocations in
the case of a single VMA and for tighter packing of other VMAs, thus
reducing maple node allocations.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
include/linux/mm.h
mm/internal.h
mm/memory.c
mm/mmap.c