]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Add fastpath bypassing funnel locking
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 11 Jul 2015 23:24:45 +0000 (16:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 17 Jul 2015 21:59:06 +0000 (14:59 -0700)
commitcdacbe1f91264687af956e810278030f2ab5a3d0
tree3a4e912e5c319329bc2a1e68b99ee041f0777150
parent32bb1c79996069ef9e4e53b428050749f9841c3f
rcu: Add fastpath bypassing funnel locking

In the common case, there will be only one expedited grace period in
the system at a given time, in which case it is not helpful to use
funnel locking.  This commit therefore adds a fastpath that bypasses
funnel locking when the root ->exp_funnel_mutex is not held.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/RCU/trace.txt
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_trace.c