]> www.infradead.org Git - users/willy/linux.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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 19:26:52 +0000 (15:26 -0400)
commitd0ef257d812062510798230e7e7c8fd01012e1a9
tree7c027c50550f3849c27259f1f5d85cf3beea8917
parentc53374f930272a4c8be448021c5049c57b97da38
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.

In this commit, 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: 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