commit | 105abf82b0a62664edabcd4c5b4d9414c74ef399 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Fri Jan 03 15:44:23 2020 -0800 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Feb 20 15:58:22 2020 -0800 |
tree | cb1adde397babb2e7c1b810f8380a204798d29de | |
parent | 2906d2154cd6ad6e4452cc25315d3cea7bb7f2d7 [diff] |
rcu: Add WRITE_ONCE() to rcu_node ->qsmaskinitnext The rcu_state structure's ->qsmaskinitnext field is read locklessly, so this commit adds the WRITE_ONCE() to an update in order to provide proper documentation and READ_ONCE()/WRITE_ONCE() pairing. This data race was reported by KCSAN. Not appropriate for backporting due to failure being unlikely for systems not doing incessant CPU-hotplug operations. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>