Skip to content
Commit 2f084695 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 4f58820f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment