rcu: Move rcu_cpu_kthread_task to rcu_data structure
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 00:11:14 +0000 (16:11 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:29:53 +0000 (15:29 -0800)
commit37f62d7cf00c085e1d7a91a6af286c4e8d32e1e1
tree9e16f2b9587d5566f976803263bed1b5374ed88b
parent9cf422a8e71455032b61c6c0ea56a1e96206aab0
rcu: Move rcu_cpu_kthread_task 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_task 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