]> 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>
Tue, 5 Jan 2021 17:28:23 +0000 (12:28 -0500)
__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 93d03649eee394dc08e0b338ddd928eb61d2e105..38e2f54bc6623e651a25efd0de612ab42819853a 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);
 }