summaryrefslogtreecommitdiff
path: root/kernel/rcu/update.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-03-21 19:52:20 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-04-27 11:01:16 -0700
commit62ae19511f1efbe9f57346ca1f45e13b061a56ff (patch)
treeb032a11a11ed5b0b3ea3b17731471a32660bbd06 /kernel/rcu/update.c
parentc28d5c09d09f86374a00b70a57d3cb75e3fc7fa9 (diff)
downloadlinux-62ae19511f1efbe9f57346ca1f45e13b061a56ff.tar.gz
rcu: Mark rcu_state.gp_seq to detect more concurrent writes
The rcu_state structure's gp_seq field is only to be modified by the RCU grace-period kthread, which is single-threaded. This commit therefore enlists KCSAN's help in enforcing this restriction. This commit applies KCSAN-specific primitives, so cannot go upstream until KCSAN does. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/update.c')
0 files changed, 0 insertions, 0 deletions