]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Move rcu_cpu_has_work to rcu_data structure
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 02:21:32 +0000 (18:21 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:29:56 +0000 (15:29 -0800)
commit9e2608f5faf5f14749273602e60ba4375c4dcf41
tree558d35c11ad66a9380ecc79321ae4a103599091a
parent68c8cd9641e9e4afd9ef67f2f2a8326caeadfcd8
rcu: Move rcu_cpu_has_work 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_has_work 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