Re: [PATCH 1/1] Fix undefined reference to 'node_reclaim_distance'.
From: Gonsolo
Date: Mon Dec 16 2019 - 08:21:20 EST
Hi!
> Unfortunately that may be an x86-centric assumption: on other platforms,
> there do exist systems with multiple memory banks with different access
> performance figures.
Does that mean that the line
obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o topology.o stop_task.o pelt.o
in kernel/sched/topology/Makefile:23 is wrong?
Because in topology.c:1284 the variable node_reclaim_distance ist defined
which is used in mm/page_alloc.c:3529 without depending on SMP.
--
g