aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-09 11:02:51 -0700
committerFrederic Weisbecker <frederic@kernel.org>2024-11-12 23:04:50 +0100
commit046c06f5ba97b31da189396e922ebff3f502518e (patch)
tree59735fe4b7557444d5b2f99385ff64d0e9de3520 /tools/perf/scripts/python/export-to-postgresql.py
parenttorture: Add --no-affinity parameter to kvm.sh (diff)
downloadwireguard-linux-046c06f5ba97b31da189396e922ebff3f502518e.tar.xz
wireguard-linux-046c06f5ba97b31da189396e922ebff3f502518e.zip
refscale: Correct affinity check
The current affinity check works fine until there are more reader processes than CPUs, at which point the affinity check is looking for non-existent CPUs. This commit therefore applies the same modulus to the check as is present in the set_cpus_allowed_ptr() call. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions