]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Allow RCU grace-period cleanup to be preempted
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 21 Jun 2012 15:19:05 +0000 (08:19 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 5 Sep 2012 18:56:13 +0000 (11:56 -0700)
commitd6bb5a6bee5186f8f1428002691a63d292563444
tree032b4f8a6c4a9bbdb7871a9d66f383235cf9f5fe
parent99d3e0203c3845bd79898157541fec412cff2c92
rcu: Allow RCU grace-period cleanup to be preempted

RCU grace-period cleanup is currently carried out with interrupts
disabled, which can result in excessive latency spikes on large systems
(many hundreds or thousands of CPUs).  This patch therefore makes the
RCU grace-period cleanup be preemptible, including voluntary preemption
points, which should eliminate those latency spikes.  Similar spikes from
forcing of quiescent states will be dealt with similarly by later patches.

Reported-by: Mike Galbraith <mgalbraith@suse.de>
Reported-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c