]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Start tracking VMAs with maple tree
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 24 Jul 2020 17:04:30 +0000 (13:04 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 15 Dec 2021 18:38:42 +0000 (13:38 -0500)
commitdf30518b7aa1f409859bedcd1b2895384d53ebb2
tree9724e8b917ce1e2432d8a4e1560c55322849be08
parentf245239efbb458132e2f86a3b8ad1ef13fa16803
mm: Start tracking VMAs with maple tree

Start tracking the VMAs with the new maple tree structure in parallel
with the rb_tree.  Add debug and trace events for maple tree operations
and duplicate the rb_tree that is created on forks into the maple tree.

The maple tree is added to the mm_struct including the mm_init struct,
added support in required mm/mmap functions, added tracking in
kernel/fork for process forking, and used to find the unmapped_area and
checked against what the rbtree finds.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
arch/x86/kernel/tboot.c
drivers/firmware/efi/efi.c
include/linux/mm.h
include/linux/mm_types.h
include/trace/events/mmap.h
init/main.c
kernel/fork.c
mm/init-mm.c
mm/internal.h
mm/mmap.c