rcu: avoid pointless blocked-task warnings
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 12 Jan 2011 22:18:11 +0000 (14:18 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 14 Jan 2011 12:58:08 +0000 (04:58 -0800)
commitb24efdfdf679cf9b05947c531971905fc727dd40
tree06d8532819315ad0aa84d8ff64a1d35901b018fb
parentc072a388d59a1d48e36864d0e66f42d71745be1c
rcu: avoid pointless blocked-task warnings

If the RCU callback-processing kthread has nothing to do, it parks in
a wait_event().  If RCU remains idle for more than two minutes, the
kernel complains about this.  This commit changes from wait_event()
to wait_event_interruptible() to prevent the kernel from complaining
just because RCU is idle.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Thomas Weber <weber@corscience.de>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
kernel/rcutiny.c