aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2023-01-20 20:24:33 -0800
committerJakub Kicinski <[email protected]>2023-02-07 18:20:00 -0800
commit9feae65845f7b16376716fe70b7d4b9bf8721848 (patch)
tree10c9cf542cad95b89564fbdf5617fc6b5b8857f9 /tools/perf/scripts/python/futex-contention.py
parentb1beed72b8b75d365fdbc925da856c212195051b (diff)
sched/topology: Introduce sched_numa_hop_mask()
Tariq has pointed out that drivers allocating IRQ vectors would benefit from having smarter NUMA-awareness - cpumask_local_spread() only knows about the local node and everything outside is in the same bucket. sched_domains_numa_masks is pretty much what we want to hand out (a cpumask of CPUs reachable within a given distance budget), introduce sched_numa_hop_mask() to export those cpumasks. Link: http://lore.kernel.org/r/[email protected] Signed-off-by: Valentin Schneider <[email protected]> Reviewed-by: Yury Norov <[email protected]> Signed-off-by: Yury Norov <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions