Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755710Ab0ASVKq (ORCPT ); Tue, 19 Jan 2010 16:10:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755679Ab0ASVKp (ORCPT ); Tue, 19 Jan 2010 16:10:45 -0500 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 X-Authority-Analysis: v=1.0 c=1 a=LvvgB44tUwgA:10 a=pvDITCcdRQcHJGLfHHIA:9 a=Kfv6qxW47aoRq1WCzj0TKPz3iBUA:4 X-Cloudmark-Score: 0 X-Originating-IP: 74.67.89.75 Subject: Re: Lots of bugs with current->state = TASK_*INTERRUPTIBLE From: Steven Rostedt To: Julia Lawall Cc: LKML , kernel-janitors , Peter Zijlstra , Andrew Morton , linux-arch@vger.kernel.org, Greg KH , Andy Whitcroft In-Reply-To: References: <1263932978.31321.53.camel@gandalf.stny.rr.com> Content-Type: text/plain Date: Tue, 19 Jan 2010 16:08:53 -0500 Message-Id: <1263935333.4561.26.camel@frodo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 26 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/