[folded-merged] mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic-fix.patch removed from -mm tree

Andrew Morton <[email protected]> Tue, 04 Aug 2026 18:11:33 -0700
Newsgroups org.kernel.vger.mm-commits
Message-ID <[email protected]>
The quilt patch titled
     Subject: mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic-fix
has been removed from the -mm tree.  Its filename was
     mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic-fix.patch

This patch was dropped because it was folded into mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic-fix
Date: Mon Jul  6 04:13:37 PM PDT 2026

update comment, per David

Link: https://lore.kernel.org/[email protected]
Cc: Baoquan He <[email protected]>
Cc: "Barry Song (Xiaomi)" <[email protected]>
Cc: David Hildenbrand (Arm) <[email protected]>
Cc: Kairui Song <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Usama Arif <[email protected]>
Cc: Chris Li <[email protected]>
Cc: Kemeng Shi <[email protected]>
Cc: Liam R. Howlett <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 mm/memory.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/memory.c~mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic-fix
+++ a/mm/memory.c
@@ -5039,8 +5039,8 @@ check_folio:
 		pte = pte_mkuffd_wp(pte);
 
 	/*
-	 * Similar logic as in do_wp_page(); however, optimize for pages that are
-	 * certainly not because the swap entry indicates exclusivity.
+	 * Similar logic as in do_wp_page(); however, optimize for pages that
+	 * are certainly exclusive.
 	 */
 	if (exclusive) {
 		if ((vma->vm_flags & VM_WRITE) && !userfaultfd_pte_wp(vma, pte) &&
_

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

mm-drop-stale-folio_ref_count==1-check-in-do_swap_page-reuse-logic.patch
mm-hmm-make-config_hmm_mirror-select-config_mmu_notifier.patch
mm-vma-add-and-use-vma__pgoff-fix.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