Skip to content

mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE and cleanup CONFIG_MIGRATION

David Hildenbrand (Arm) linux-arm-kernel linux-mm linux-riscv linux-rt-devel linux-s390 linuxppc-dev lkml loongarch 1 version Applied

Status from this message: This series was applied to riscv/linux.git (fixes)

Get series with b4
b4 am [email protected] change-id 20260317-config_migration-463e20400499

Versions newest first

  1. v1 Latest2 patches 15 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVEarch/arm64/Kconfig arch/loongarch/Kconfig arch/powerpc/Kconfig +4 more+3 -1212 repliesApplied
2/2mm: introduce CONFIG_NUMA_MIGRATION and simplify CONFIG_MIGRATIONinclude/linux/memory-tiers.h init/Kconfig mm/Kconfig +3 more+24 -252 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonathan CameronZi YanLorenzo Stoakes (Oracle)Joshua HahnGregory PriceMike Rapoport (Microsoft)
SeriesR-b
1/2A-b R-b R-b R-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE and cleanup CONFIG_MIGRATION

While working on memory hotplug code cleanups, I realized that CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE is not really required anymore.

Changing that revealed some rather nasty looking CONFIG_MIGRATION handling.

Let's clean that up by introducing a dedicated CONFIG_NUMA_MIGRATION option and reducing the dependencies that CONFIG_MIGRATION has.

Heavily cross compiled. I assume these changes are fine, but messing with kconfig sometimes feels like playing with fire :)

---
David Hildenbrand (Arm) (2):
mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE
mm: introduce CONFIG_NUMA_MIGRATION and simplify CONFIG_MIGRATION

 arch/arm64/Kconfig           |  1 -
 arch/loongarch/Kconfig       |  1 -
 arch/powerpc/Kconfig         |  1 -
 arch/riscv/Kconfig           |  1 -
 arch/s390/Kconfig            |  1 -
 arch/x86/Kconfig             |  1 -
 include/linux/memory-tiers.h |  2 +-
 init/Kconfig                 |  2 +-
 mm/Kconfig                   | 33 +++++++++++++++------------------
 mm/memory-tiers.c            | 12 ++++++------
 mm/mempolicy.c               |  2 +-
 mm/migrate.c                 |  5 ++---
 12 files changed, 26 insertions(+), 36 deletions(-)

---
base-commit: fbf55982f31ae6aa11f890c36bccc130ce70a312
change-id: 20260317-config_migration-463e20400499

Best regards,

Signature · 1 line
David Hildenbrand (Arm) <[email protected]>