Home
last modified time | relevance | path

Searched hist:"031 aeee000e895247eafa4233c2d193dd39d4ea2" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/rcu/
H A Dtree_exp.hdiff 031aeee000e895247eafa4233c2d193dd39d4ea2 Tue Mar 21 09:28:14 CDT 2017 Paul E. McKenney <paulmck@linux.vnet.ibm.com> srcu: Improve rcu_seq grace-period-counter abstraction

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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
H A Drcu.hdiff 031aeee000e895247eafa4233c2d193dd39d4ea2 Tue Mar 21 09:28:14 CDT 2017 Paul E. McKenney <paulmck@linux.vnet.ibm.com> srcu: Improve rcu_seq grace-period-counter abstraction

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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>