]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Enable maple tree RCU mode by default.
authorSuren Baghdasaryan <surenb@google.com>
Tue, 8 Nov 2022 17:40:09 +0000 (17:40 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:24 +0000 (15:59 -0500)
commit336fc4f91441c9b43c379c417e30fe137210a1f7
tree96df5743402e9bff5d8649d38931b75190505099
parent2f38e34ea80f7c6525f518ff567c29f6e63266a6
mm: Enable maple tree RCU mode by default.

Use the maple tree in RCU mode for VMA tracking.  This is necessary for
the use of per-VMA locking.  RCU mode is enabled by default but disabled
when exiting an mm and for the new tree during a fork.

Also enable RCU for the tree used in munmap operations to ensure the
nodes remain valid for readers.

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