Re: [tip:core/urgent] rcu: avoid pointless blocked-task warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* tip-bot for Paul E. McKenney <paul.mckenney@xxxxxxxxxx> wrote:

> Commit-ID:  b24efdfdf679cf9b05947c531971905fc727dd40
> Gitweb:     http://git.kernel.org/tip/b24efdfdf679cf9b05947c531971905fc727dd40
> Author:     Paul E. McKenney <paul.mckenney@xxxxxxxxxx>
> AuthorDate: Wed, 12 Jan 2011 14:18:11 -0800
> Committer:  Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> CommitDate: Fri, 14 Jan 2011 04:58:08 -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.

Btw., a sidenote, it's not just about the blocked-tasks lockup detector warning, 
uninterruptible sleeps will also artificially inflate the load average of the box, 
+1.0 per such task. So it's definitely a bug to sleep for a very long time 
uninterruptible.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux