summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorK Prateek Nayak <kprateek.nayak@amd.com>2024-12-23 07:34:05 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-01-13 16:10:25 +0300
commit0ac1ee9ebfb7fa2af4a267fe0e8fa275ba8ec6fc (patch)
treeb137eb11b10d32fd1ce8be348a57774321021a88 /tools/perf/scripts/python/task-analyzer.py
parente1bc02646527fc1ed74f00eb599b2b74d49671c7 (diff)
downloadlinux-0ac1ee9ebfb7fa2af4a267fe0e8fa275ba8ec6fc.tar.xz
sched/fair: Do not compute NUMA Balancing stats unnecessarily during lb
Aggregate nr_numa_running and nr_preferred_running when load balancing at NUMA domains only. While at it, also move the aggregation below the idle_cpu() check since an idle CPU cannot have any preferred tasks. Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lore.kernel.org/r/20241223043407.1611-7-kprateek.nayak@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions