Files
linux/drivers/acpi/numa
Yuquan Wang 3f12680913 mm: numa_memblks: introduce numa_add_reserved_memblk
acpi_parse_cfmws() currently adds empty CFMWS ranges to numa_meminfo with
the expectation that numa_cleanup_meminfo moves them to
numa_reserved_meminfo.  There is no need for that indirection when it is
known in advance that these unpopulated ranges are meant for
numa_reserved_meminfo in support of future hotplug / CXL provisioning.

Introduce and use numa_add_reserved_memblk() to add the empty CFMWS ranges
directly.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yuquan Wang <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Cc: Bruno Faccini <[email protected]>
Cc: Chen Baozi <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Haibo Xu <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Joanthan Cameron <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Robert Richter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2025-05-22 14:55:36 -07:00
..
…