From: Liam R. Howlett Date: Fri, 28 Feb 2020 20:33:24 +0000 (-0500) Subject: mm/mmap: Remove maple tree erase call in __vma_unlink_common X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8ecb8766e2c8e706443d60f060c48c5136fa68d0;p=users%2Fjedix%2Flinux-maple.git 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 --- 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); }