summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree_exp.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-02-10 05:29:58 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-04-27 11:01:15 -0700
commit2f08469563550d15cb08a60898d3549720600eee (patch)
tree57dfe47e476fbe1457f801ab439b41cf83291d49 /kernel/rcu/tree_exp.h
parent4f58820fd710e0563e22420c07c03c5ccec948bf (diff)
downloadlinux-2f08469563550d15cb08a60898d3549720600eee.tar.gz
linux-2f08469563550d15cb08a60898d3549720600eee.tar.bz2
linux-2f08469563550d15cb08a60898d3549720600eee.zip
rcu: Mark rcu_state.ncpus to detect concurrent writes
The rcu_state structure's ncpus field is only to be modified by the CPU-hotplug CPU-online code path, which is single-threaded. This commit therefore enlists KCSAN's help in enforcing this restriction. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
0 files changed, 0 insertions, 0 deletions