diff options
| author | Hao Jia <[email protected]> | 2022-12-16 14:24:05 +0800 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-12-27 12:52:16 +0100 |
| commit | feaed76376fd612b9450ad1251aec20a63ccfe92 (patch) | |
| tree | 50aa3a24d6cc6ead328224a09fa179d35ac2bf8f /tools/perf/scripts/python | |
| parent | 904cbab71dda1689d41a240541179f21ff433c40 (diff) | |
sched/numa: Stop an exhastive search if an idle core is found
In update_numa_stats() we try to find an idle cpu on the NUMA node,
preferably an idle core. we can stop looking for the next idle core
or idle cpu after finding an idle core. But we can't stop the
whole loop of scanning the CPU, because we need to calculate
approximate NUMA stats at a point in time. For example,
the src and dst nr_running is needed by task_numa_find_cpu().
Signed-off-by: Hao Jia <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions