rcu: Start RCU kthreads in TASK_INTERRUPTIBLE state
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 25 May 2011 20:42:06 +0000 (13:42 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 28 May 2011 15:41:56 +0000 (17:41 +0200)
commitcc3ce5176d83cd8ae1134f86e208ea758d6cb78e
treea28ada4c1e5fd8c3e8210ca1a1df950af8a704ff
parent08bca60a6912ad225254250c0a9c3a05b4152cfa
rcu: Start RCU kthreads in TASK_INTERRUPTIBLE state

Upon creation, kthreads are in TASK_UNINTERRUPTIBLE state, which can
result in softlockup warnings.  Because some of RCU's kthreads can
legitimately be idle indefinitely, start them in TASK_INTERRUPTIBLE
state in order to avoid those warnings.

Suggested-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcutree.c
kernel/rcutree_plugin.h