Skip to content
Commit f7e972ee authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 8b4d0f48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment