mmap-convert-vma_link-vma-iterator.patch removed from -mm tree
The quilt patch titled
Subject: mmap: convert vma_link() vma iterator
has been removed from the -mm tree. Its filename was
mmap-convert-vma_link-vma-iterator.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: mmap: convert vma_link() vma iterator
Date: Fri, 20 Jan 2023 11:26:11 -0500
Avoid using the maple tree interface directly.
Signed-off-by Liam R. Howlett <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/mmap.c renamed from mm/mmap.c~mmap-convert-vma_link-vma-iterator +3 -3
@@ -487,10 +487,10 @@ static inline void vma_mas_szero(structstatic int vma_link (struct mm_struct *mm,struct vm_area_struct *vma) { -MA_STATE (mas, &mm->mm_mt,0 ,0 ); +VMA_ITERATOR (vmi, mm,0 );struct address_space *mapping =NULL ; -if (mas_preallocate (&mas,GFP_KERNEL )) +if (vma_iter_prealloc (&vmi))return -ENOMEM ;if (vma->vm_file) {
@@ -498,7 +498,7 @@ static int vma_link(struct mm_struct *mmi_mmap_lock_write (mapping); } -vma_mas_store (vma, &mas); +vma_iter_store (&vmi, vma);if (mapping) {__vma_link_file (vma, mapping);
_
Patches currently in -mm which might be from [email protected] are