]> 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>
Fri, 6 Jul 2012 13:01:49 +0000 (06:01 -0700)
commit2e856880ce095793750551b329655b32a2a591ff
tree2cb1bed5ed94c2d076f0fc5847501845cc8e085d
parenta883f039014bec54ba8441d69b60f73c10a10515
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>
kernel/rcutree.c