]> 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>
Fri, 6 Jul 2012 13:01:50 +0000 (06:01 -0700)
commit34971d5875b5ea05bfd037156a81609ebdebb07c
treec667bad818914adf1601239dcb7d4326f73d7e61
parenta5899fa18470512eb660193791cbbd8522c6120f
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>
kernel/rcutree.c