From: Arjan van de Ven <arjan@infradead.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Dave Peterson <dsp@llnl.gov>,
alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
bluesmoke-devel@lists.sourceforge.net, hch@lst.de
Subject: Re: [PATCH 1/15] EDAC: switch to kthread_ API
Date: Fri, 03 Mar 2006 10:16:18 +0100 [thread overview]
Message-ID: <1141377378.2883.24.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20060302183035.6a15a1fc.akpm@osdl.org>
On Thu, 2006-03-02 at 18:30 -0800, Andrew Morton wrote:
> Dave Peterson <dsp@llnl.gov> wrote:
> >
> > schedule_timeout((HZ * poll_msec) / 1000);
> > try_to_freeze();
> > + __set_current_state(TASK_RUNNING);
>
> schedule() and schedule_timeout*() always return in state TASK_RUNNING, so
> I'll take that out of there.
>
> We might as well use schedule_timeout_interruptible(), too. As a bonus, we
> get to delete that spelling mistake ;)
or even msleep variant ;)
next prev parent reply other threads:[~2006-03-03 9:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 1:47 Dave Peterson
2006-03-03 2:30 ` Andrew Morton
2006-03-03 9:16 ` Arjan van de Ven [this message]
2006-03-03 15:57 Doug Thompson
2006-03-03 23:20 ` Dave Peterson
2006-03-04 0:03 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1141377378.2883.24.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=dsp@llnl.gov \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®