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

rcu: Use data_race() for RCU CPU stall-warning prints



Although the accesses used to determine whether or not a stall should
be printed are an integral part of the concurrency algorithm governing
use of the corresponding variables, the values that are simply printed
are ancillary.  As such, it is best to use data_race() for these accesses
in order to provide the greatest latitude in the use of KCSAN for the
other accesses that are an integral part of the algorithm.  This commit
therefore changes the relevant uses of READ_ONCE() to data_race().

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