]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Allow RCU grace-period initialization to be preempted
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 20 Jun 2012 00:18:20 +0000 (17:18 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 5 Sep 2012 18:55:31 +0000 (11:55 -0700)
commit08fbda0f2483ba8902ac9e06ac39215ba0271caf
tree0296fd2bb91da7121be3fae8bbc348eec5171f84
parent8e1e19ba58c77d28bec233600fd06caf3e94e396
rcu: Allow RCU grace-period initialization to be preempted

RCU grace-period initialization is currently carried out with interrupts
disabled, which can result in 200-microsecond latency spikes on systems
on which RCU has been configured for 4096 CPUs.  This patch therefore
makes the RCU grace-period initialization be preemptible, which should
eliminate those latency spikes.  Similar spikes from grace-period cleanup
and the 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