diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-03 14:53:31 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 0937d045732b5dd5e5df1fb6355d5f4e01f3c4d7 (patch) | |
tree | 679da8876a4e372ab67634dd2f3b1b675c7b6a8f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b0c18c87730a4de6da0303fa99aea43e814233f9 (diff) |
rcu: Add READ_ONCE() to rcu_node ->gp_seq
The rcu_node structure's ->gp_seq field is read locklessly, so this
commit adds the READ_ONCE() to several loads in order to avoid
destructive compiler optimizations.
This data race was reported by KCSAN. Not appropriate for backporting
because this affects only tracing and warnings.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions