From: Liam R. Howlett Date: Mon, 4 Jan 2021 20:10:18 +0000 (-0500) Subject: mm/nommu: Stop inserting into the vma linked list X-Git-Tag: howlett/maple_spf/20210118~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=91a5b0d63287acad9d0befe4499f8ac8f2fb33b3;p=users%2Fjedix%2Flinux-maple.git mm/nommu: Stop inserting into the vma linked list Signed-off-by: Liam R. Howlett --- diff --git a/mm/nommu.c b/mm/nommu.c index fccdd85ccf48..7e2ea86d7b54 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -617,8 +617,6 @@ static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) prev = NULL; if (rb_prev) prev = rb_entry(rb_prev, struct vm_area_struct, vm_rb); - - __vma_link_list(mm, vma, prev); } /* @@ -653,8 +651,6 @@ static void delete_vma_from_mm(struct vm_area_struct *vma) /* remove from the MM's tree and list */ rb_erase(&vma->vm_rb, &mm->mm_rb); - - __vma_unlink_list(mm, vma); } /*