Skip to contentSkip to conversation

mm-kconfig-make-flatmem-depend-on-numa.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/Kconfig: make FLATMEM depend on !NUMA
has been removed from the -mm tree. Its filename was
mm-kconfig-make-flatmem-depend-on-numa.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/Kconfig: make FLATMEM depend on !NUMA
Date: Wed, 5 Aug 2026 00:11:41 +0900

Patch series "mm/page_ext: remove pgdat_page_ext_init()", v2.

pgdat_page_ext_init() has no effect on FLATMEM. The pgdat is always the zero-initialized contig_page_data, because no architecture supports FLATMEM + NUMA.

That constraint is only implicit in the arch Kconfig files. So patch 1 makes it explicit in mm/Kconfig, and patch 2 removes pgdat_page_ext_init().

No functional change.

This patch (of 2):

FLATMEM + NUMA is not supported by any architecture and fails to build. The constraint is only implicit in the arch Kconfig files.

So make it explicit in mm/Kconfig.

No functional change.

---

 mm/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
mm/Kconfig renamed from mm/Kconfig~mm-kconfig-make-flatmem-depend-on-numa +2 -0
@@ -390,6 +390,7 @@ choice
 
 config FLATMEM_MANUAL
 	bool "Flat Memory"
+	depends on !NUMA
 	depends on !ARCH_SPARSEMEM_ENABLE || ARCH_FLATMEM_ENABLE
 	help
 	  This option is best suited for non-NUMA systems with
@@ -424,6 +425,7 @@ config SPARSEMEM
 
 config FLATMEM
 	def_bool y
+	depends on !NUMA
 	depends on !SPARSEMEM || FLATMEM_MANUAL
 
 #

_

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