]> asedeno.scripts.mit.edu Git - linux.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)
commitf7e972ee128e0a65784b13ec1459fe35b817eed7
tree558d35c11ad66a9380ecc79321ae4a103599091a
parent8b4d0f4858864af6a0753740f00353035bd058de
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