mm-adjust-out-dated-document-of-__gfp_nofail.patch removed from -mm tree
The quilt patch titled
Subject: mm: adjust out-dated document of __GFP_NOFAIL
has been removed from the -mm tree. Its filename was
mm-adjust-out-dated-document-of-__gfp_nofail.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: Wei Yang <[email protected]>
Subject: mm: adjust out-dated document of __GFP_NOFAIL
Date: Sat, 29 Aug 2026 02:58:47 +0000
Commit ee040cbd6e48 ("mm/page_alloc: don't warn about large allocations with __GFP_NOFAIL") remove a warning on allocating large folio with __GFP_NOFAIL, which was placed there by commit 903edea6c53f ("mm: warn about illegal __GFP_NOFAIL usage in a more appropriate location and manner").
While in that commit, it also documented this behavior which is out-dated now.
Adjust the document to align to current code, and adjust the comment while at it.
---
include/linux/gfp_types.h | 2 +- mm/page_alloc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/gfp_types.h renamed from include/linux/gfp_types.h~mm-adjust-out-dated-document-of-__gfp_nofail +1 -1
@@ -244,7 +244,7 @@ enum {* definitely preferable to use the flag rather than opencode endless * loop around allocator. * Allocating pages from the buddy with __GFP_NOFAIL and order > 1 is -* not supported. Please consider using kvmalloc() instead. +* discouraged. Please consider using kvmalloc() instead if possible. */ #define __GFP_IO ((__force gfp_t)___GFP_IO)#define __GFP_FS ((__force gfp_t)___GFP_FS)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-adjust-out-dated-document-of-__gfp_nofail +1 -1
@@ -4804,7 +4804,7 @@ __alloc_pages_slowpath(gfp_t gfp_mask, uif (unlikely (nofail)) {/* -* Also we don't support __GFP_NOFAIL without __GFP_DIRECT_RECLAIM, +* We don't support __GFP_NOFAIL without __GFP_DIRECT_RECLAIM, * otherwise, we may result in lockup. */ WARN_ON_ONCE (!can_direct_reclaim);
_
Patches currently in -mm which might be from [email protected] are
mm-page_vma_mapped-guard-check_pmd-with-config_transparent_hugepage.patch