Re: [PATCH v2] mm: numa_memblks: introduce numa_add_reserved_memblk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 28, 2025 at 05:21:32PM +0800, Yuquan Wang wrote:

Commit message from v1 needs updating to reflect what this v2
is doing: 'add empty CFMWS ranges to numa_reserved_meminfo"

> With numa_add_reserved_memblk(), kernel could add numa_memblk into
> numa_reserved_meminfo directly.
above comes last in commit log.

ie. State the issue like this:
> 
> 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 suppot of future hotplug / CXL provisioning.
'support'
> 

Then the resolution:

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


> Signed-off-by: Yuquan Wang <wangyuquan1236@xxxxxxxxxxxxxx>

With the above commit message and log updates, and +linux-cxl mail list,
add:

Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>

> ---
snip





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux