]> git.baikalelectronics.ru Git - kernel.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)
commit656f690210d2566988e993cf74344a490e1e5996
tree149aa8e7fe288094129c94d02db2e2b64c6ff53c
parent719797acb22482d254bf2d686c95702f25eb2963
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