commit | 5396d31d3a396039502f75a128bd8064819cba61 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Wed Jan 08 19:58:13 2020 -0800 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Feb 20 16:03:31 2020 -0800 |
tree | d2e44a2353b31fb376351e12527b90099ae3ef04 | |
parent | f042a436c8dc9f9cfe8ed1ee5de372697269657d [diff] |
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: Paul E. McKenney <paulmck@kernel.org>