]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
rcu: Use single value to handle expedited SRCU grace periods
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 19 Mar 2012 08:12:12 +0000 (16:12 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 30 Apr 2012 17:48:24 +0000 (10:48 -0700)
commitd9792edd7a9a0858a3b1df92cf8beb31e4191e3c
tree149aa8e7fe288094129c94d02db2e2b64c6ff53c
parentdc87917501e324701dbfb249def44054b5220187
rcu: Use single value to handle expedited SRCU grace periods

The earlier algorithm used an "expedited" flag combined with a "trycount"
counter to differentiate between normal and expedited SRCU grace periods.
However, the difference can be encoded into a single counter with a cutoff
value and different initial values for expedited and normal SRCU grace
periods.  This commit makes that change.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Conflicts:

kernel/srcu.c
kernel/srcu.c