[PATCH v5 0/2] Optimize zone->contiguous update and issue fix

From: Tianyou Li

Date: Mon Dec 08 2025 - 09:47:24 EST


This series contains 2 patches, the first one add a fast path to check
the zone->contiguous, the second one fix an issue when check the
zone->contiguous at the slow path during zone grows. The issue fixed
by the second patch can be found in the original code path without the
first patch.

Tianyou Li (1):
mm/memory hotplug/unplug: Optimize zone->contiguous update when
changes pfn range

Yuan Liu (1):
mm/memory hotplug: fix zone->contiguous always false when hotplug

mm/internal.h | 8 +++++-
mm/memory_hotplug.c | 70 +++++++++++++++++++++++++++++++++++++++++++--
mm/mm_init.c | 13 +++++++--
3 files changed, 85 insertions(+), 6 deletions(-)

--
2.47.1