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

Jonathan Cameron
2024-08-02T10:53:02Z

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

> From: "Mike Rapoport (Microsoft)" <rppt@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@kernel.org>
> Tested-by: Zi Yan <ziy@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@huawei.com>