Searched hist:"39 f91504a03a7a2abdb52205106942fa4a548d0d" (Results 1 – 1 of 1) sorted by relevance
/linux/kernel/rcu/ |
H A D | srcutree.c | diff 39f91504a03a7a2abdb52205106942fa4a548d0d Mon Dec 23 04:39:35 CET 2019 Paul E. McKenney <paulmck@kernel.org> srcu: Fix process_srcu()/srcu_batches_completed() datarace
The srcu_struct structure's ->srcu_idx field is accessed locklessly, so reads must use READ_ONCE(). This commit therefore adds the needed READ_ONCE() invocation where it was missed.
This data race was reported by KCSAN. Not appropriate for backporting due to failure being unlikely.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
|