[PATCH v4 0/2] mm/memory hotplug/unplug: Optimize zone contiguous check when changing pfn range
From: Yuan Liu
Date: Tue Apr 21 2026 - 09:00:38 EST
This series cleans up the overlap memory map init check and
optimizes zone contiguous check when changing pfn range.
In addition to providing a significant improvement for VM hotplug
(see the second patch for reference), it brings benefits for CXL
hotplug as well. The link is as follows
https://lore.kernel.org/all/20260409023552.GA2807@AE/
v3 link:
https://lore.kernel.org/all/20260408031615.1831922-1-yuan1.liu@xxxxxxxxx/
v4 changes:
Add a new patch for clean up overlap memory map init check
Yuan Liu (2):
mm: move overlap memory map init check to memmap_init()
mm/memory hotplug/unplug: Optimize zone contiguous check when changing
pfn range
Documentation/mm/physical_memory.rst | 13 +++++
drivers/base/memory.c | 6 ++
include/linux/mmzone.h | 47 ++++++++++++++++
mm/internal.h | 8 +--
mm/memory_hotplug.c | 12 +---
mm/mm_init.c | 82 +++++++++++-----------------
6 files changed, 100 insertions(+), 68 deletions(-)
--
2.47.3