Re: [PATCH v3 1/1] mm: numa_memblks: introduce numa_add_reserved_memblk
From: Guenter Roeck
Date: Tue Jun 03 2025 - 09:06:57 EST
Hi,
On Thu, May 08, 2025 at 10:27:19AM +0800, Yuquan Wang wrote:
> 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.
>
> Signed-off-by: Yuquan Wang <wangyuquan1236@xxxxxxxxxxxxxx>
Just on case this has not been reported yet:
Building loongarch:defconfig ... failed
--------------
Error log:
drivers/acpi/numa/srat.c: In function 'acpi_parse_cfmws':
drivers/acpi/numa/srat.c:467:13: error: implicit declaration of function 'numa_add_reserved_memblk'
Guenter