Skip to contentSkip to conversation

mm-vmscan-remove-redundant-__gfp_nowarn.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Nov 17, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/vmscan: remove redundant __GFP_NOWARN
has been removed from the -mm tree. Its filename was
mm-vmscan-remove-redundant-__gfp_nowarn.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: Fushuai Wang <[email protected]>
Subject: mm/vmscan: remove redundant __GFP_NOWARN
Date: Mon, 6 Oct 2025 09:49:48 +0800

The __GFP_NOWARN flag was included in GFP_NOWAIT since commit 16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT"). So remove the redundant __GFP_NOWARN flag.

---

 mm/vmscan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-remove-redundant-__gfp_nowarn +1 -1
@@ -1054,7 +1054,7 @@ static unsigned int demote_folio_list(st
 		 * When this happens, 'page' will likely just be discarded
 		 * instead of migrated.
 		 */
-		.gfp_mask = (GFP_HIGHUSER_MOVABLE & ~__GFP_RECLAIM) | __GFP_NOWARN |
+		.gfp_mask = (GFP_HIGHUSER_MOVABLE & ~__GFP_RECLAIM) |
 			__GFP_NOMEMALLOC | GFP_NOWAIT,
 		.nid = target_nid,
 		.nmask = &allowed_mask,

_

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