rcu: Increase rcu_barrier() concurrency
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 29 May 2012 21:56:46 +0000 (14:56 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:33:23 +0000 (12:33 -0700)
commitcf3a9c4842b1e097dbe0854933c471d43dd24f69
tree5b2737cade79c491ba46cd642c01cc165118d723
parentcfed0a85dad921c683e9c0d25b072bcc5745ede0
rcu: Increase rcu_barrier() concurrency

The traditional rcu_barrier() implementation has serialized all requests,
regardless of RCU flavor, and also does not coalesce concurrent requests.
In the past, this has been good and sufficient.

However, systems are getting larger and use of rcu_barrier() has been
increasing.  This commit therefore introduces a counter-based scheme
that allows _rcu_barrier() calls for the same flavor of RCU to take
advantage of each others' work.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
kernel/rcutree.h
This page took 0.025217 seconds and 5 git commands to generate.