]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit472d7a25a3f6bf07707fac6b0fb7f4e417bb4455
tree21247efa6468a1fc047e4efdcc531e8fc1a1a273
parent44e3523c8848cf664524ac1cc010b36934ae7c85
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