diff options
author | 2022-09-17 16:41:58 +0000 | |
---|---|---|
committer | 2022-10-18 14:59:57 -0700 | |
commit | aba9645bd10bd9f793732b06495b1312ee44865e (patch) | |
tree | 00b6009b63c84f16c3f25cdc8322ca91861fa8ba /tools/perf/scripts/python/export-to-sqlite.py | |
parent | rcu: Remove unused 'cpu' in rcu_virt_note_context_switch() (diff) | |
download | wireguard-linux-aba9645bd10bd9f793732b06495b1312ee44865e.tar.xz wireguard-linux-aba9645bd10bd9f793732b06495b1312ee44865e.zip |
rcu: Use READ_ONCE() for lockless read of rnp->qsmask
The rnp->qsmask is locklessly accessed from rcutree_dying_cpu(). This
may help avoid load tearing due to concurrent access, KCSAN
issues, and preserve sanity of people reading the mask in tracing.
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions