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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aANWElXU6wi4QJt2@kernel.org>
Date: Sat, 19 Apr 2025 10:51:46 +0300
From: Mike Rapoport <rppt@...nel.org>
To: Yuquan Wang <wangyuquan1236@...tium.com.cn>
Cc: chenhuacai@...nel.org, kernel@...0n.name, jiaxun.yang@...goat.com,
	akpm@...ux-foundation.org, david@...hat.com,
	Jonathan.Cameron@...wei.com, dave.hansen@...ux.intel.com,
	dan.j.williams@...el.com, alison.schofield@...el.com,
	chenbaozi@...tium.com.cn, loongarch@...ts.linux.dev,
	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
	linux-cxl@...r.kernel.org
Subject: Re: [PATCH 1/1] LoongArch: Introduce the numa_memblks conversion

Hi Yuquan,

On Wed, Apr 09, 2025 at 03:02:50PM +0800, Yuquan Wang wrote:
> "mm: introduce numa_memblks"(87482708210f) has moved numa_memblks
> from x86 to the generic code, but loongarch was left out of this
> conversion.
> 
> This patch introduces the generic numa_memblks.
> 
> Signed-off-by: Yuquan Wang <wangyuquan1236@...tium.com.cn>
> ---
> 
> Background
> ----------
> I am managed to land the patch[1] "mm: numa_memblks: introduce numa_add_reserved_memblk"
> but kernel test CI noticed build errors[2] from loongarch64-linux-gcc.

I think you can just add a dummy static inline numa_add_reserved_memblk()
to arch/loongarch/include/asm/numa.h to fix the build. Then moving
loongarch to numa_memblks won't be a stopper for your change.
 
> Link:
> [1]: https://lore.kernel.org/all/20250409040121.3212489-1-wangyuquan1236@phytium.com.cn/
> [2]: https://lore.kernel.org/all/202503282026.QNaOAK79-lkp@intel.com/

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ