Skip to contentSkip to conversation

mm-page_ext-remove-pgdat_page_ext_init.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Aug 25

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/page_ext: remove pgdat_page_ext_init()
has been removed from the -mm tree. Its filename was
mm-page_ext-remove-pgdat_page_ext_init.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: Sang-Heon Jeon <[email protected]>
Subject: mm/page_ext: remove pgdat_page_ext_init()
Date: Wed, 5 Aug 2026 00:11:42 +0900

pgdat_page_ext_init() sets pgdat->node_page_ext to NULL only on FLATMEM. FLATMEM depends on !NUMA, so the pgdat is always the zero-initialized contig_page_data and the store has no effect.

So remove the call site, the unused function and its declaration.

No functional change.

---

 include/linux/page_ext.h |    5 -----
 mm/mm_init.c             |    1 -
 mm/page_ext.c            |    9 ---------
 3 files changed, 15 deletions(-)
include/linux/page_ext.h renamed from include/linux/page_ext.h~mm-page_ext-remove-pgdat_page_ext_init +0 -5
@@ -55,7 +55,6 @@ struct page_ext {
 
 extern bool early_page_ext;
 extern unsigned long page_ext_size;
-extern void pgdat_page_ext_init(struct pglist_data *pgdat);
 
 static inline bool early_page_ext_enabled(void)
 {
@@ -202,10 +201,6 @@ static inline bool early_page_ext_enable
 	return false;
 }
 
-static inline void pgdat_page_ext_init(struct pglist_data *pgdat)
-{
-}
-
 static inline void page_ext_init(void)
 {
 }
mm/mm_init.c renamed from mm/mm_init.c~mm-page_ext-remove-pgdat_page_ext_init +0 -1
@@ -1394,7 +1394,6 @@ static void __meminit pgdat_init_interna
 	for (i = 0; i < NR_VMSCAN_THROTTLE; i++)
 		init_waitqueue_head(&pgdat->reclaim_wait[i]);
 
-	pgdat_page_ext_init(pgdat);
 	lruvec_init(&pgdat->__lruvec);
 }
 
mm/page_ext.c renamed from mm/page_ext.c~mm-page_ext-remove-pgdat_page_ext_init +0 -9
@@ -164,11 +164,6 @@ void __init page_ext_init_flatmem_late(v
 	invoke_init_callbacks();
 }
 
-void __meminit pgdat_page_ext_init(struct pglist_data *pgdat)
-{
-	pgdat->node_page_ext = NULL;
-}
-
 static struct page_ext *lookup_page_ext(const struct page *page)
 {
 	unsigned long pfn = page_to_pfn(page);
@@ -494,10 +489,6 @@ oom:
 	panic("Out of memory");
 }
 
-void __meminit pgdat_page_ext_init(struct pglist_data *pgdat)
-{
-}
-
 #endif
 
 /**

_

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