summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2023-01-21 07:24:32 +0300
committerJakub Kicinski <kuba@kernel.org>2023-02-08 05:20:00 +0300
commitb1beed72b8b75d365fdbc925da856c212195051b (patch)
treee8f5aca99400b2b3840388983df01f9c73e76fe2 /tools/perf/scripts/python/export-to-postgresql.py
parent406d394abfcd8f16dc1dbcc8fc1b828252befb6d (diff)
downloadlinux-b1beed72b8b75d365fdbc925da856c212195051b.tar.xz
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 <yury.norov@gmail.com> Acked-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Peter Lafreniere <peter@n8pjl.ca> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions