]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm/mmap: Remove maple tree erase call in __vma_unlink_common
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 28 Feb 2020 20:33:24 +0000 (15:33 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:02:55 +0000 (15:02 -0400)
__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 <Liam.Howlett@Oracle.com>
mm/mmap.c

index c895182c9c02c3a0a5d13e0d00cdee292cd1774b..b0cba0ef2c1b935e80197a2c5b9213e001299899 100644 (file)
--- 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);
 }