]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Introduce proper blocking to no-CBs kthreads GP waits
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 11 Feb 2013 04:48:58 +0000 (20:48 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:44 +0000 (08:04 -0700)
commitdae6e64d2bcfd4b06304ab864c7e3a4f6b5fedf4
tree79172d32aab5e0cecf8fc7ab4cf1fabf14328d81
parent911af505ef407c2511106c224dd640f882f0f590
rcu: Introduce proper blocking to no-CBs kthreads GP waits

Currently, the no-CBs kthreads do repeated timed waits for grace periods
to elapse.  This is crude and energy inefficient, so this commit allows
no-CBs kthreads to specify exactly which grace period they are waiting
for and also allows them to block for the entire duration until the
desired grace period completes.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h