Skip to content
Commit 0f11ad32 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Mark rcu_state.gp_seq to detect 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.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 3d05031a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment