projects
/
users
/
jedix
/
linux-maple.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbb4f8
)
mm/nommu: Stop inserting into the vma linked list
author
Liam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 4 Jan 2021 20:10:18 +0000
(15:10 -0500)
committer
Liam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 29 Jan 2021 16:07:58 +0000
(11:07 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/nommu.c
patch
|
blob
|
history
diff --git
a/mm/nommu.c
b/mm/nommu.c
index fccdd85ccf482b994c7c809355bef233140f6b24..7e2ea86d7b54355d480180e2abef9b9d7fc8c0cd 100644
(file)
--- 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);
}
/*