lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4c2f44c4115eae6b68846da1ec85c5f47ea66122.camel@xry111.site>
Date: Tue, 03 Jun 2025 21:30:25 +0800
From: Xi Ruoyao <xry111@...111.site>
To: Guenter Roeck <linux@...ck-us.net>, 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, akpm@...ux-foundation.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 v3 1/1] mm: numa_memblks: introduce
 numa_add_reserved_memblk

On Tue, 2025-06-03 at 06:06 -0700, Guenter Roeck wrote:
> 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@...tium.com.cn>
> 
> 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' 

The fix is queued at
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/commit/?h=loongarch-next&id=a24f2fb70cb62180486ad4d74f809ff35ddd1cf9


-- 
Xi Ruoyao <xry111@...111.site>
School of Aerospace Science and Technology, Xidian University

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ