Re: [PATCH 13/17] mm: move numa_distance and related code from x86 to numa_memblks

From: Mike Rapoport
Date: Fri Jul 19 2024 - 01:58:45 EST


On Thu, Jul 18, 2024 at 04:46:17PM -0500, Samuel Holland wrote:
> On 2024-07-16 6:13 AM, Mike Rapoport 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>
> > ---
> > arch/x86/mm/numa.c | 101 ---------------------------
> > arch/x86/mm/numa_internal.h | 2 -
> > include/linux/numa_memblks.h | 4 ++
> > {arch/x86/mm => mm}/numa_emulation.c | 0
> > mm/numa_memblks.c | 101 +++++++++++++++++++++++++++
> > 5 files changed, 105 insertions(+), 103 deletions(-)
> > rename {arch/x86/mm => mm}/numa_emulation.c (100%)
>
> The numa_emulation.c rename looks like it should be part of the next commit, not
> this one.

Right, thanks!

--
Sincerely yours,
Mike.