diff options
author | Liam R. Howlett <Liam.Howlett@Oracle.com> | 2020-07-24 13:04:30 -0400 |
---|---|---|
committer | Liam R. Howlett <Liam.Howlett@Oracle.com> | 2021-01-28 15:47:36 -0500 |
commit | d25a147c68d7378077669ed06b74238a6213dae1 (patch) | |
tree | 78a2288aac8b81bc50804b466720e633e5f916f0 /arch | |
parent | 824aa5e4af0be646da193e90e3383651b93f1c8d (diff) |
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.
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/tboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index 4c09ba110204..52fab58e4b07 100644 --- a/arch/x86/kernel/tboot.c +++ b/arch/x86/kernel/tboot.c @@ -90,6 +90,7 @@ void __init tboot_probe(void) static pgd_t *tboot_pg_dir; static struct mm_struct tboot_mm = { .mm_rb = RB_ROOT, + .mm_mt = MTREE_INIT(mm_mt, MAPLE_ALLOC_RANGE), .pgd = swapper_pg_dir, .mm_users = ATOMIC_INIT(2), .mm_count = ATOMIC_INIT(1), |