From 8ecb8766e2c8e706443d60f060c48c5136fa68d0 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 93d03649eee3..38e2f54bc662 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