[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1263935333.4561.26.camel@frodo>
Date: Tue, 19 Jan 2010 16:08:53 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Julia Lawall <julia@...u.dk>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors <kernel-janitors@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-arch@...r.kernel.org, Greg KH <greg@...ah.com>,
Andy Whitcroft <apw@...onical.com>
Subject: Re: Lots of bugs with current->state = TASK_*INTERRUPTIBLE
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(<state>).
>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists