diff options
author | 2023-08-19 07:12:34 -0700 | |
---|---|---|
committer | 2023-09-15 13:48:10 +0200 | |
commit | d1db9fb432d50b0eecdfdd85d17cc15a59cc093b (patch) | |
tree | 47f0754f44ce59c0f9f72ede2ca06c7e2f654d1f /lib | |
parent | numa: Generalize numa_map_to_online_node() (diff) | |
download | wireguard-linux-d1db9fb432d50b0eecdfdd85d17cc15a59cc093b.tar.xz wireguard-linux-d1db9fb432d50b0eecdfdd85d17cc15a59cc093b.zip |
sched/fair: Fix open-coded numa_nearest_node()
task_numa_placement() searches for a nearest node to migrate by calling
for_each_node_state(). Now that we have numa_nearest_node(), switch to
using it.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Mel Gorman <mgorman@suse.de>
Link: https://lore.kernel.org/r/20230819141239.287290-3-yury.norov@gmail.com
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions