diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2012-03-19 16:12:12 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-04-30 10:48:24 -0700 |
commit | d9792edd7a9a0858a3b1df92cf8beb31e4191e3c (patch) | |
tree | 149aa8e7fe288094129c94d02db2e2b64c6ff53c /include/linux/srcu.h | |
parent | dc87917501e324701dbfb249def44054b5220187 (diff) | |
download | op-kernel-dev-d9792edd7a9a0858a3b1df92cf8beb31e4191e3c.zip op-kernel-dev-d9792edd7a9a0858a3b1df92cf8beb31e4191e3c.tar.gz |
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
Diffstat (limited to 'include/linux/srcu.h')
0 files changed, 0 insertions, 0 deletions