]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Extend expedited funnel locking to rcu_data structure
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 30 Jun 2015 00:06:39 +0000 (17:06 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 17 Jul 2015 21:59:00 +0000 (14:59 -0700)
commit2cd6ffafec066118365f6d7eb7a42ea16c1f032c
tree39656499f5a78c4b61528904e3464c2403a0b83b
parent704dd435ac7eaefa89fcd82fd2876b8330e00ff3
rcu: Extend expedited funnel locking to rcu_data structure

The strictly rcu_node based funnel-locking scheme works well in many
cases, but systems with CONFIG_RCU_FANOUT_LEAF=64 won't necessarily get
all that much concurrency.  This commit therefore extends the funnel
locking into the per-CPU rcu_data structure, providing concurrency equal
to the number of CPUs.

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