]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 20 Sep 2012 21:54:47 +0000 (14:54 -0700)
commita48621e98a0f83475a29724914d8b2d3c8cf4d73
treefd6a1ebd94904f09fc71357f7a28a31b91f0f4fd
parent4b8bef95efac233b36efad9e276de36c86e5cd43
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