Re: INFO: task rcu_kthread:6 blocked for more than 120 seconds.

From: Paul E. McKenney
Date: Thu Jan 13 2011 - 15:41:51 EST


On Thu, Jan 13, 2011 at 08:05:26PM +0000, Russell King wrote:
> On Wed, Jan 12, 2011 at 02:22:19PM -0800, Paul E. McKenney wrote:
> > Does the following patch help?
>
> Yes it does, thanks.
>
> Tested-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
>
> > commit 70ce43253a4465211a9c51e33d56a417c759a718
> > Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Date: Wed Jan 12 14:18:11 2011 -0800
> >
> > 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@xxxxxxxxxxxxxxxx>
>
> Please add '+kernel' in there, thanks.

Done! FWIW, I copied the original from my email agent.

Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/