[PATCH 13/17] mm: move numa_distance and related code from x86 to numa_memblks
Samuel Holland
samuel.holland at sifive.com
Thu Jul 18 14:46:17 PDT 2024
On 2024-07-16 6:13 AM, Mike Rapoport 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>
> ---
> 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.
More information about the linux-arm-kernel
mailing list