summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-03-19 09:12:12 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-04-30 19:48:24 +0200
commitd9792edd7a9a0858a3b1df92cf8beb31e4191e3c (patch)
tree149aa8e7fe288094129c94d02db2e2b64c6ff53c /include/scsi
parentrcu: Improve srcu_readers_active_idx()'s cache locality (diff)
downloadlinux-d9792edd7a9a0858a3b1df92cf8beb31e4191e3c.tar.xz
linux-d9792edd7a9a0858a3b1df92cf8beb31e4191e3c.zip
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/scsi')
0 files changed, 0 insertions, 0 deletions