mm-kconfig-drop-redundant-memory-hotplug-dependencies.patch removed from -mm tree
The quilt patch titled
Subject: mm/kconfig: drop redundant memory hotplug dependencies
has been removed from the -mm tree. Its filename was
mm-kconfig-drop-redundant-memory-hotplug-dependencies.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: Kaitao Cheng <[email protected]>
Subject: mm/kconfig: drop redundant memory hotplug dependencies
Date: Tue, 7 Jul 2026 17:03:31 +0800
MHP_MEMMAP_ON_MEMORY is defined inside the MEMORY_HOTPLUG block, and MEMORY_HOTPLUG already depends on SPARSEMEM_VMEMMAP. Keep the explicit MEMORY_HOTPLUG dependency for local readability, but drop the redundant SPARSEMEM_VMEMMAP dependency.
ZONE_DEVICE depends on MEMORY_HOTREMOVE, which depends on MEMORY_HOTPLUG. MEMORY_HOTPLUG in turn depends on SPARSEMEM_VMEMMAP. Drop the direct MEMORY_HOTPLUG and SPARSEMEM_VMEMMAP dependencies from ZONE_DEVICE.
This does not change the set of valid configurations.
---
mm/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
mm/Kconfig renamed from mm/Kconfig~mm-kconfig-drop-redundant-memory-hotplug-dependencies +1 -3
@@ -588,7 +588,7 @@ config MEMORY_HOTREMOVE config MHP_MEMMAP_ON_MEMORY def_bool y - depends on MEMORY_HOTPLUG && SPARSEMEM_VMEMMAP + depends on MEMORY_HOTPLUG depends on ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE endif # MEMORY_HOTPLUG
@@ -1227,9 +1227,7 @@ config ZONE_DMA32 config ZONE_DEVICE bool "Device memory (pmem, HMM, etc...) hotplug support" - depends on MEMORY_HOTPLUG depends on MEMORY_HOTREMOVE - depends on SPARSEMEM_VMEMMAP select XARRAY_MULTI help
_
Patches currently in -mm which might be from [email protected] are