• Paul E. McKenney's avatar
    srcu: Improve rcu_seq grace-period-counter abstraction · 031aeee0
    Paul E. McKenney authored
    The expedited grace-period code contains several open-coded shifts
    know the format of an rcu_seq grace-period counter, which is not
    particularly good style.  This commit therefore creates a new
    rcu_seq_ctr() function that extracts the counter portion of the
    counter, and an rcu_seq_state() function that extracts the low-order
    state bit.  This commit prepares for SRCU callback parallelization,
    which will require two state bits.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    031aeee0
tree_exp.h 22.4 KB