diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-12-14 17:36:02 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-12-17 12:34:49 -0800 |
commit | b52573d2796274f7f31cfeff7185c320adcd4f12 (patch) | |
tree | 61580632fa8fbf80225ba7339274ada0c013a01b /include/linux/rculist.h | |
parent | rcu: limit rcu_node leaf-level fanout (diff) | |
download | linux-dev-b52573d2796274f7f31cfeff7185c320adcd4f12.tar.xz linux-dev-b52573d2796274f7f31cfeff7185c320adcd4f12.zip |
rcu: reduce __call_rcu()-induced contention on rcu_node structures
When the current __call_rcu() function was written, the expedited
APIs did not exist. The __call_rcu() implementation therefore went
to great lengths to detect the end of old grace periods and to start
new ones, all in the name of reducing grace-period latency. Now the
expedited APIs do exist, and the usage of __call_rcu() has increased
considerably. This commit therefore causes __call_rcu() to avoid
worrying about grace periods unless there are a large number of
RCU callbacks stacked up on the current CPU.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rculist.h')
0 files changed, 0 insertions, 0 deletions