diff options
author | 2012-03-19 16:12:12 +0800 | |
---|---|---|
committer | 2012-04-30 10:48:24 -0700 | |
commit | d9792edd7a9a0858a3b1df92cf8beb31e4191e3c (patch) | |
tree | 149aa8e7fe288094129c94d02db2e2b64c6ff53c /tools/perf/scripts/python | |
parent | rcu: Improve srcu_readers_active_idx()'s cache locality (diff) | |
download | linux-dev-d9792edd7a9a0858a3b1df92cf8beb31e4191e3c.tar.xz linux-dev-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions