diff options
author | Vincent Guittot <[email protected]> | 2022-08-25 14:27:23 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-09-15 16:13:51 +0200 |
commit | b0defa7ae03ecf91b8bfd10ede430cff12fcbd06 (patch) | |
tree | d590d068e868d7ce347e237d7e04095a65193388 /tools/perf/scripts/python/task-analyzer.py | |
parent | fb04563d1cae6f361892b4a339ad92100b1eb0d0 (diff) |
sched/fair: Make sure to try to detach at least one movable task
During load balance, we try at most env->loop_max time to move a task.
But it can happen that the loop_max LRU tasks (ie tail of
the cfs_tasks list) can't be moved to dst_cpu because of affinity.
In this case, loop in the list until we found at least one.
The maximum of detached tasks remained the same as before.
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions