• Paul E. McKenney's avatar
    rcu: Move rcu_cpu_has_work to rcu_data structure · f7e972ee
    Paul E. McKenney authored
    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>
    f7e972ee
tree.h 18.9 KB