+1
−1
+1
−1
Loading
The rcu_data structure's ->gpwrap field is read locklessly, and so
this commit adds the required READ_ONCE() to a pair of laods in order
to avoid destructive compiler optimizations.
This data race was reported by KCSAN.
Signed-off-by:
Paul E. McKenney <paulmck@kernel.org>