[PATCH v3 18/26] mm: move numa_distance and related code from x86 to numa_memblks

Jonathan Cameron Jonathan.Cameron at Huawei.com
Fri Aug 2 03:52:03 PDT 2024


On Thu,  1 Aug 2024 09:08:18 +0300
Mike Rapoport <rppt at kernel.org> wrote:

> From: "Mike Rapoport (Microsoft)" <rppt at kernel.org>
> 
> Move code dealing with numa_distance array from arch/x86 to
> mm/numa_memblks.c
> 
> This code will be later reused by arch_numa.
> 
> No functional changes.
> 
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> Tested-by: Zi Yan <ziy at nvidia.com> # for x86_64 and arm64

As you say, simple code move and I'll cope with the confusion
of stuff that isn't numa_memblk in that file given the
convenience.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>



More information about the linux-riscv mailing list