]> git.karo-electronics.de Git - karo-tx-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>
Wed, 25 Apr 2012 03:55:41 +0000 (20:55 -0700)
commit89591b3b6774e335268ed3aa211b45517737b1a9
tree2d33fda55dad4a3a1664096b08545b9f4489cb61
parent27178d9942302c7fb0b2945223a1a99626379791
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