diff options
author | 2020-01-08 20:06:25 -0800 | |
---|---|---|
committer | 2020-02-20 15:58:22 -0800 | |
commit | 2a2ae872ef7aa958f2152b8b24c6e94cf5f1d0df (patch) | |
tree | a63de3362e628049c785189d39daebdbf139fe95 /tools/perf/scripts/python | |
parent | rcu: Add READ_ONCE() to rcu_data ->gpwrap (diff) | |
download | linux-dev-2a2ae872ef7aa958f2152b8b24c6e94cf5f1d0df.tar.xz linux-dev-2a2ae872ef7aa958f2152b8b24c6e94cf5f1d0df.zip |
rcu: Add *_ONCE() to rcu_data ->rcu_forced_tick
The rcu_data structure's ->rcu_forced_tick field is read locklessly, so
this commit adds WRITE_ONCE() to all updates and READ_ONCE() to all
lockless reads.
This data race was reported by KCSAN. Not appropriate for backporting
due to failure being unlikely.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions