[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250506185544.474d025e43ebadadaedb982a@linux-foundation.org>
Date: Tue, 6 May 2025 18:55:44 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Yuquan Wang <wangyuquan1236@...tium.com.cn>
Cc: Jonathan.Cameron@...wei.com, dan.j.williams@...el.com, rppt@...nel.org,
rafael@...nel.org, lenb@...nel.org, alison.schofield@...el.com,
rrichter@....com, bfaccini@...dia.com, haibo1.xu@...el.com,
david@...hat.com, chenhuacai@...nel.org, linux-cxl@...r.kernel.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, chenbaozi@...tium.com.cn, loongarch@...ts.linux.dev
Subject: Re: [PATCH v2] mm: numa_memblks: introduce numa_add_reserved_memblk
On Tue, 6 May 2025 14:22:45 +0800 Yuquan Wang <wangyuquan1236@...tium.com.cn> 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@...tium.com.cn>
> ---
>
> Changes in v2 (Thanks to Dan & Alison):
> - Use numa_add_reserved_memblk() to replace numa_add_memblk() in acpi_parse_cfmws()
> - Add comments to describe the usage of numa_add_reserved_memblk()
> - Updating the commit message to clarify the purpose of the patch
>
> By the way, "LoongArch: Introduce the numa_memblks conversion" is in linux-next.
So is this patch dependent upon "LoongArch: Introduce the numa_memblks
conversion"?
Powered by blists - more mailing lists