rcu: Move RCU grace-period cleanup into kthread
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 21 Jun 2012 00:07:14 +0000 (17:07 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:41:52 +0000 (07:41 -0700)
commitcabc49c1ff51baaf1958d501a7a616ce91245c93
tree9d99237196fb45d01b38fb9235815b32fd1995d7
parent755609a9087fa983f567dc5452b2fa7b089b591f
rcu: Move RCU grace-period cleanup into kthread

As a first step towards allowing grace-period cleanup to be preemptible,
this commit moves the RCU grace-period cleanup into the same kthread
that is now used to initialize grace periods.  This is needed to keep
scheduling latency down to a dull roar.

[ paulmck: Get rid of stray spin_lock_irqsave() calls. ]

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