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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 12 Oct 2023 08:05:35 +0200
From:   Ingo Molnar <mingo@...nel.org>
To:     Rongwei Wang <rongwei.wang@...ux.alibaba.com>
Cc:     linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-mm@...ck.org, akpm@...ux-foundation.org, willy@...radead.org,
        catalin.marinas@....com, dave.hansen@...ux.intel.com,
        tj@...nel.org, mingo@...hat.com
Subject: Re: [PATCH RFC 1/5] mm/numa: move numa emulation APIs into generic
 files


* Rongwei Wang <rongwei.wang@...ux.alibaba.com> wrote:

> In order to support NUMA EMU for other
> arch, some functions that used by numa_meminfo
> should be moved out x86 arch. mm/numa.c created
> to place above API.
> 
> CONFIG_NUMA_EMU will be handled later.
> 
> Signed-off-by: Rongwei Wang <rongwei.wang@...ux.alibaba.com>
> ---
>  arch/x86/include/asm/numa.h |   3 -
>  arch/x86/mm/numa.c          | 216 +-------------------------
>  arch/x86/mm/numa_internal.h |  14 +-
>  include/asm-generic/numa.h  |  18 +++
>  mm/Makefile                 |   1 +
>  mm/numa.c                   | 298 ++++++++++++++++++++++++++++++++++++
>  6 files changed, 323 insertions(+), 227 deletions(-)
>  create mode 100644 mm/numa.c

No objections to moving the x86 NUMA emulation code to mm/numa.c, as long 
as it stays similarly functional:

   Acked-by: Ingo Molnar <mingo@...nel.org>

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ