OSDN Git Service

rcu: Move rcu_cpu_kthread_status to rcu_data structure
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 00:43:05 +0000 (16:43 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:29:54 +0000 (15:29 -0800)
commit6ffdde28b7558ec48f4e0eee01821a66a67a8e25
tree21247efa6468a1fc047e4efdcc531e8fc1a1a273
parent37f62d7cf00c085e1d7a91a6af286c4e8d32e1e1
rcu: Move rcu_cpu_kthread_status to rcu_data structure

Given that RCU has a perfectly good per-CPU rcu_data structure, most
per-CPU quantities should be stored there.

This commit therefore moves the rcu_cpu_kthread_status per-CPU variable
to the rcu_data structure.  This also makes this variable unconditionally
present, which should be acceptable given the memory reduction due to the
RCU flavor consolidation and also due to simplifications this will enable.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h