Skip to contentSkip to conversation

mm-msync-use-vma_find-instead-of-vma-linked-list.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 27, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/msync: use vma_find() instead of vma linked list
has been removed from the -mm tree. Its filename was
mm-msync-use-vma_find-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/msync: use vma_find() instead of vma linked list
Date: Tue, 6 Sep 2022 19:49:03 +0000

Remove a single use of the vma linked list in preparation for the removal of the linked list. Uses find_vma() to get the next element.

---

 mm/msync.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/msync.c renamed from mm/msync.c~mm-msync-use-vma_find-instead-of-vma-linked-list +1 -1
@@ -104,7 +104,7 @@ SYSCALL_DEFINE3(msync, unsigned long, st
 				error = 0;
 				goto out_unlock;
 			}
-			vma = vma->vm_next;
+			vma = find_vma(mm, vma->vm_end);
 		}
 	}
 out_unlock:

_

Patches currently in -mm which might be from [email protected] are