Skip to content
Commit 62ae1951 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent c28d5c09
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