aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2023-08-19 07:12:36 -0700
committerIngo Molnar <[email protected]>2023-09-15 13:48:10 +0200
commit8ab63d418d4339d996f80d02a00dbce0aa3ff972 (patch)
tree51b04d5fdb48770303fdfad3875fa1c177253230 /tools/perf/scripts/python/stackcollapse.py
parent617f2c38cb5ce60226042081c09e2ee3a90d03f8 (diff)
sched/topology: Fix sched_numa_find_nth_cpu() in non-NUMA case
When CONFIG_NUMA is enabled, sched_numa_find_nth_cpu() searches for a CPU in sched_domains_numa_masks. The masks includes only online CPUs, so effectively offline CPUs are skipped. When CONFIG_NUMA is disabled, the fallback function should be consistent. Fixes: cd7f55359c90 ("sched: add sched_numa_find_nth_cpu()") Signed-off-by: Yury Norov <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Mel Gorman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions