[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZSeMr2BB6odoWrg+@gmail.com>
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