Skip to contentSkip to conversation

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

madvise_walk_vmas() no longer uses linked list.

---

 mm/madvise.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/madvise.c renamed from mm/madvise.c~mm-madvise-use-vma_find-instead-of-vma-linked-list +1 -1
@@ -1245,7 +1245,7 @@ int madvise_walk_vmas(struct mm_struct *
 		if (start >= end)
 			break;
 		if (prev)
-			vma = prev->vm_next;
+			vma = find_vma(mm, prev->vm_end);
 		else	/* madvise_remove dropped mmap_lock */
 			vma = find_vma(mm, start);
 	}

_

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