From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: Lots of bugs with current->state = TASK_*INTERRUPTIBLE Date: Tue, 19 Jan 2010 16:08:53 -0500 Message-ID: <1263935333.4561.26.camel@frodo> References: <1263932978.31321.53.camel@gandalf.stny.rr.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:47153 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754614Ab0ASVKo (ORCPT ); Tue, 19 Jan 2010 16:10:44 -0500 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Julia Lawall Cc: LKML , kernel-janitors , Peter Zijlstra , Andrew Morton , linux-arch@vger.kernel.org, Greg KH , Andy Whitcroft On Tue, 2010-01-19 at 21:58 +0100, Julia Lawall wrote: > > Anyway, this looks like a good janitorial work. Anything that assigns > > state outside the rq locks to something other than TASK_RUNNING and that > > is not before a schedule() (perhaps even those) should be converted to: > > > > set_current_task(). > > Does "not before a schedule" mean not before a schedule_timeout as well? Yep. > > Also, I assume you mean set_current_state? Yep! Thanks! -- Steve