]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Mark accesses to boost_starttime
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 13 Dec 2021 19:05:07 +0000 (11:05 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:19:02 +0000 (17:19 -0800)
commit750732a1cc85c931a92fea330f36de53853fa0e7
tree4a57aa85fa7206f3a7b9aa9cb1c6734b4ec33d39
parent57f15227f132fba8dbcf097e7a3bae3ccb01e70f
rcu: Mark accesses to boost_starttime

The boost_starttime shared variable has conflicting unmarked C-language
accesses, which are dangerous at best.  This commit therefore adds
appropriate marking.  This was found by KCSAN.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c