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

rcutorture: Annotation lockless accesses to rcu_torture_current



The rcutorture global variable rcu_torture_current is accessed locklessly,
so it must use the RCU pointer load/store primitives.  This commit
therefore adds several that were missed.

This data race was reported by KCSAN.  Not appropriate for backporting due
to failure being unlikely and due to this being used only by rcutorture.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent f042a436
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