diff options
author | K Prateek Nayak <kprateek.nayak@amd.com> | 2024-12-23 07:34:06 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-01-13 16:10:25 +0300 |
commit | 3229adbe787534b43430f92e10175c9b77f2d27c (patch) | |
tree | 3fb269c3709b8d4c647758e6a41940f6444ebb2a /tools/perf/scripts/python/task-analyzer.py | |
parent | 0ac1ee9ebfb7fa2af4a267fe0e8fa275ba8ec6fc (diff) | |
download | linux-3229adbe787534b43430f92e10175c9b77f2d27c.tar.xz |
sched/fair: Do not compute overloaded status unnecessarily during lb
Only set sg_overloaded when computing sg_lb_stats() at the highest sched
domain since rd->overloaded status is updated only when load balancing
at the highest domain. While at it, move setting of sg_overloaded below
idle_cpu() check since an idle CPU can never be overloaded.
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://lore.kernel.org/r/20241223043407.1611-8-kprateek.nayak@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions