rcu: Move rcu_cpu_started per-CPU variable to rcu_data
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 25 Jul 2020 03:22:05 +0000 (20:22 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:37:54 +0000 (18:37 -0700)
commitc0f97f20e5d97a1358ade650fcf6a322c0c9bc72
tree3e17feb32ae22a6a1b4cab593277e21d4eb12857
parentdf9a30fd1f70a757df193acd7396622eee23e527
rcu: Move rcu_cpu_started per-CPU variable to rcu_data

When the rcu_cpu_started per-CPU variable was added by commit
f64c6013a202 ("rcu/x86: Provide early rcu_cpu_starting() callback"),
there were multiple sets of per-CPU rcu_data structures.  Therefore, the
rcu_cpu_started flag was added as a separate per-CPU variable.  But now
there is only one set of per-CPU rcu_data structures, so this commit
moves rcu_cpu_started to a new ->cpu_started field in that structure.

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