[PATCH v2 0/3] Take the scheduling domain into account in numa balancin

From: Chuyi Zhou
Date: Fri Jan 03 2025 - 01:59:48 EST


This patchset tries to adjust the logic of handling isolate cpus in numa balancing.

patch#1: Clean up for task_numa_migrate().

patch#2: Skips the isolate cpus when gathering numa status and finding
idle cpus in update_numa_stats().

patch#3: Ensure that we do not select an isolated CPU in
task_numa_find_cpu(), even if it is present in the task's CPU mask.

v1 -> v2:
- collect Prateek's reviewed-by and add the history of
task_numa_migrate() to commit log.

Chuyi Zhou (3):
sched/fair: Remove unused task_numa_migrate return value
sched/fair: Ignore isolated cpus in update_numa_stat
sched/fair: Ensure select housekeeping cpus in task_numa_find_cpu

kernel/sched/fair.c | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)

--
2.20.1