public inbox for mm-commits@vger.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-fix-deferred-split-queue-races-during-migration-fix.patch removed from -mm tree
@ 2026-04-01 23:18 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-04-01 23:18 UTC (permalink / raw)
  To: mm-commits, lance.yang, david, ziy, akpm


The quilt patch titled
     Subject: mm-fix-deferred-split-queue-races-during-migration-fix
has been removed from the -mm tree.  Its filename was
     mm-fix-deferred-split-queue-races-during-migration-fix.patch

This patch was dropped because it was folded into mm-fix-deferred-split-queue-races-during-migration.patch

------------------------------------------------------
From: Zi Yan <ziy@nvidia.com>
Subject: mm-fix-deferred-split-queue-races-during-migration-fix
Date: Wed, 1 Apr 2026 18:52:43 -0400

move the comment

Link: https://lkml.kernel.org/r/FB71A764-0F10-4E5A-B4A0-BA4C7F138408@nvidia.com
Signed-off-by: Zi Yan <ziy@nvidia.com>
Cc: David Hildenbrand (Arm) <david@kernel.org>
Cc: Lance Yang <lance.yang@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/huge_memory.c |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

--- a/mm/huge_memory.c~mm-fix-deferred-split-queue-races-during-migration-fix
+++ a/mm/huge_memory.c
@@ -4551,15 +4551,18 @@ retry:
 		}
 		folio_unlock(folio);
 next:
+		/*
+		 * If thp_underused() returns false, or if split_folio()
+		 * succeeds, or if split_folio() fails in the case it was
+		 * underused, then consider it used and don't add it back to
+		 * split_queue.
+		 */
 		if (did_split || !folio_test_partially_mapped(folio))
 			continue;
 requeue:
 		/*
-		 * Add back partially mapped folios, or underused folios
-		 * that we could not lock this round.  If thp_underused()
-		 * returns false, or if split_folio() succeeds, or if
-		 * split_folio() fails in the case it was underused, then
-		 * consider it used and don't add it back to split_queue.
+		 * Add back partially mapped folios, or underused folios that
+		 * we could not lock this round.
 		 */
 		fqueue = folio_split_queue_lock_irqsave(folio, &flags);
 		if (list_empty(&folio->_deferred_list)) {
_

Patches currently in -mm which might be from ziy@nvidia.com are

mm-fix-deferred-split-queue-races-during-migration.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-01 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 23:18 [folded-merged] mm-fix-deferred-split-queue-races-during-migration-fix.patch removed from -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox