aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-03 16:27:00 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 16:03:31 -0800
commitf042a436c8dc9f9cfe8ed1ee5de372697269657d (patch)
treef026309a51c6ff18e4e5f53a027f7977344dfca5 /tools/perf/scripts/python/export-to-postgresql.py
parentrcutorture: Fix stray access to rcu_fwd_cb_nodelay (diff)
downloadlinux-dev-f042a436c8dc9f9cfe8ed1ee5de372697269657d.tar.xz
linux-dev-f042a436c8dc9f9cfe8ed1ee5de372697269657d.zip
rcutorture: Add READ_ONCE() to rcu_torture_count and rcu_torture_batch
The rcutorture rcu_torture_count and rcu_torture_batch per-CPU variables are read locklessly, so this commit adds the READ_ONCE() to a load in order to avoid various types of compiler vandalism^Woptimization. This data race was reported by KCSAN. Not appropriate for backporting due to failure being unlikely and due to this being rcutorture. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions