diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-12-22 19:55:50 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:21 -0800 |
commit | 24bb9eccf7ff335c16c2970ac7cd5c32a92821a6 (patch) | |
tree | 149776c467fb08dc619d26f77565ac3b90b31a8d /lib/test_sysctl.c | |
parent | 82dd8419e225958f01708cda8a3fc6c3c5356228 (diff) | |
download | linux-24bb9eccf7ff335c16c2970ac7cd5c32a92821a6.tar.gz linux-24bb9eccf7ff335c16c2970ac7cd5c32a92821a6.tar.bz2 linux-24bb9eccf7ff335c16c2970ac7cd5c32a92821a6.zip |
rcu: Fix exp_funnel_lock()/rcu_exp_wait_wake() datarace
The rcu_node structure's ->exp_seq_rq field is accessed locklessly, so
updates must use WRITE_ONCE(). This commit therefore adds the needed
WRITE_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>
Diffstat (limited to 'lib/test_sysctl.c')
0 files changed, 0 insertions, 0 deletions