mm-oom_kill-use-vma-iterators-instead-of-vma-linked-list.patch removed from -mm tree
The quilt patch titled
Subject: mm/oom_kill: use vma iterators instead of vma linked list
has been removed from the -mm tree. Its filename was
mm-oom_kill-use-vma-iterators-instead-of-vma-linked-list.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Liam R. Howlett" <[email protected]>
Subject: mm/oom_kill: use vma iterators instead of vma linked list
Date: Tue, 6 Sep 2022 19:49:03 +0000
Use vma iterator in preparation of removing the linked list.
Signed-off-by Liam R. Howlett <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Reviewed-by Davidlohr Bueso <[email protected]>
Tested-by Yu Zhao <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc David Howells <[email protected]>
Cc "Matthew Wilcox (Oracle)" <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Sven Schnelle <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/oom_kill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/oom_kill.c renamed from mm/oom_kill.c~mm-oom_kill-use-vma-iterators-instead-of-vma-linked-list +2 -1
@@ -513,6 +513,7 @@ bool __oom_reap_task_mm(struct mm_struct {struct vm_area_struct *vma;bool ret = true; +VMA_ITERATOR (vmi, mm,0 );/* * Tell all users of get_user/copy_from_user etc... that the content
@@ -522,7 +523,7 @@ bool __oom_reap_task_mm(struct mm_struct*/ set_bit (MMF_UNSTABLE , &mm->flags); -for (vma = mm->mmap ; vma; vma = vma->vm_next) { +for_each_vma (vmi, vma) {if (vma->vm_flags & (VM_HUGETLB |VM_PFNMAP ))continue ;
_
Patches currently in -mm which might be from [email protected] are