From 9d1c2327792b3dcc9cc07e749b9b48ceb7081ea8 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Fri, 28 Feb 2020 15:33:24 -0500 Subject: [PATCH] mm/mmap: Remove maple tree erase call in __vma_unlink_common __vma_unlink_common is used when overwriting the next vma entry. Maple tree overwrites these entries on the store of the vma itself. Signed-off-by: Liam R. Howlett --- mm/mmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/mmap.c b/mm/mmap.c index c895182c9c02..b0cba0ef2c1b 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -887,7 +887,6 @@ static __always_inline void __vma_unlink_common(struct mm_struct *mm, { vma_rb_erase_ignore(vma, &mm->mm_rb, ignore); __vma_unlink_list(mm, vma); - __vma_mt_erase(mm, vma); /* Kill the cache */ vmacache_invalidate(mm); } -- 2.50.1