]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Reduce synchronize_rcu_expedited() latency
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 31 Jul 2012 00:19:25 +0000 (17:19 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 31 Jul 2012 18:32:58 +0000 (11:32 -0700)
commitce6e1de8c783d1b444f2ff315756d258f741f307
tree807eb05afad7aafa662e883553b63e1d79390ac2
parent3009bd3c88152f5860483551cea4446aa0ae33f6
rcu: Reduce synchronize_rcu_expedited() latency

The synchronize_rcu_expedited() function disables interrupts across a
scan of all leaf rcu_node structures, which is not good for real-time
scheduling latency on large systems (hundreds or especially thousands
of CPUs).  This commit therefore holds off CPU-hotplug operations using
get_online_cpus(), and removes the prior acquisiion of the ->onofflock
(which required disabling interrupts).

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