[PATCH 0/4] sched fixes

From: Yury Norov
Date: Thu Aug 10 2023 - 12:24:50 EST


Fixes for recently introduced sched_numa_find_nth_cpu(), and minor
improvements in sched/fair.

Yury Norov (4):
numa: generalize numa_map_to_online_node()
sched/fair: fix opencoded numa_nearest_node()
sched: fix sched_numa_find_nth_cpu() in CPU-less case
sched: fix sched_numa_find_nth_cpu() in non-NUMA case

include/linux/numa.h | 7 +++++--
include/linux/topology.h | 2 +-
kernel/sched/fair.c | 14 +-------------
kernel/sched/topology.c | 6 +++++-
mm/mempolicy.c | 18 +++++++++++-------
5 files changed, 23 insertions(+), 24 deletions(-)

--
2.39.2