aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2023-01-20 20:24:32 -0800
committerJakub Kicinski <[email protected]>2023-02-07 18:20:00 -0800
commitb1beed72b8b75d365fdbc925da856c212195051b (patch)
treee8f5aca99400b2b3840388983df01f9c73e76fe2 /tools/perf/scripts/python/sched-migration.py
parent406d394abfcd8f16dc1dbcc8fc1b828252befb6d (diff)
lib/cpumask: reorganize cpumask_local_spread() logic
Now after moving all NUMA logic into sched_numa_find_nth_cpu(), else-branch of cpumask_local_spread() is just a function call, and we can simplify logic by using ternary operator. While here, replace BUG() with WARN_ON(). Signed-off-by: Yury Norov <[email protected]> Acked-by: Tariq Toukan <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Peter Lafreniere <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions