[folded-merged] mm-vma-add-and-use-vma__pgoff-fix.patch removed from -mm tree

Andrew Morton <[email protected]> Tue, 04 Aug 2026 18:14:14 -0700
Newsgroups org.kernel.vger.mm-commits
Message-ID <[email protected]>
The quilt patch titled
     Subject: mm-vma-add-and-use-vma__pgoff-fix
has been removed from the -mm tree.  Its filename was
     mm-vma-add-and-use-vma__pgoff-fix.patch

This patch was dropped because it was folded into mm-vma-add-and-use-vma__pgoff.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: mm-vma-add-and-use-vma__pgoff-fix
Date: Fri Jul 17 08:03:43 PM PDT 2026

use linear_page_delta() in __split_vma(), per Vlastimal & Lorenzo

Cc: Ackerley Tng <[email protected]>
Cc: David Hildenbrand (Arm) <[email protected]>
Cc: Gregory Price <[email protected]>
Cc: Kai Huang <[email protected]>
Cc: Liam R. Howlett (Oracle) <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Pedro Falcato <[email protected]>
Cc: SJ Park <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Vlastimil Babka (SUSE) <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 mm/vma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/vma.c~mm-vma-add-and-use-vma__pgoff-fix
+++ a/mm/vma.c
@@ -556,7 +556,7 @@ __split_vma(struct vma_iterator *vmi, st
 
 	if (new_below) {
 		vma->vm_start = addr;
-		vma_add_pgoff(vma, (addr - new->vm_start) >> PAGE_SHIFT);
+		vma_add_pgoff(vma, linear_page_delta(new, addr));
 	} else {
 		vma->vm_end = addr;
 	}
_

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

mm-hmm-make-config_hmm_mirror-select-config_mmu_notifier.patch
mm-vma-add-and-use-vma__pgoff.patch
alloc_tag-add-ioctl-to-proc-allocinfo-fix.patch
mm-page_alloc-only-update-lowmem_reserve_ratio-on-sysctl-write-fix.patch
drivers-media-v4l2-core-v4l2-vp9c-reduce-inlining.patch