[PATCH 0/2] Fix NUMA without SMP

From: Geert Uytterhoeven
Date: Thu Sep 16 2021 - 04:43:01 EST


Hi all,

SuperH is the only architecture which still supports NUMA without SMP,
for good reasons (various memories scattered around the address space,
each with varying latencies). This series fixes two build errors due to
variables and functions used by the NUMA code being provided by SMP-only
source files or sections.

These are compile-tested only, as the remote Migo-R is MIA.

Thanks for your comments!

Geert Uytterhoeven (2):
mm: Move node_reclaim_distance to fix NUMA without SMP
mm: Move fold_vm_numa_events() to fix NUMA without SMP

kernel/sched/topology.c | 1 -
mm/page_alloc.c | 2 ++
mm/vmstat.c | 56 ++++++++++++++++++++---------------------
3 files changed, 30 insertions(+), 29 deletions(-)

--
2.25.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds