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

From: Jonathan Cameron
Date: Fri Aug 02 2024 - 06:52:21 EST


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

> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Tested-by: Zi Yan <ziy@xxxxxxxxxx> # 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@xxxxxxxxxx>