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

rcu: Mark lockless ->qsmask read in rcu_check_boost_fail()



Accesses to ->qsmask are normally protected by ->lock, but there is an
exception in the diagnostic code in rcu_check_boost_fail().  This commit
therefore applies data_race() to this access to avoid KCSAN complaining
about the C-language writes protected by ->lock.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 65bfdd36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment