]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44e3523c8848cf664524ac1cc010b36934ae7c85
tree9e16f2b9587d5566f976803263bed1b5374ed88b
parent4e500ad4106eb9c4e92aa024133e5e924033135a
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