From: Domen Puncer <domen@coderock.org>
To: kernel-janitors@vger.kernel.org
Subject: [Kernel-janitors] Re: Replaces yield() with nicedelay() on
Date: Tue, 25 May 2004 11:28:14 +0000 [thread overview]
Message-ID: <20040525112814.GA26362@nd47> (raw)
In-Reply-To: <20040524132440.GA23599@nd47>
[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]
On 24/05/04 21:49 -0300, Gustavo Franco wrote:
> Domen Puncer wrote:
> >On 02/05/04 22:24 -0300, Gustavo Franco wrote:
> >
> >>Hi,
> >>
> >>It's the last REDIFF, but i'm not replacing yield() with
> >>schedule_timeout() because there's a nicedelay() (maybe the
> >>usecs need to be tuned below) there:
> >>
> >>
> >>static inline void nicedelay(unsigned long usecs)
> >>{
> >> current->state = TASK_INTERRUPTIBLE;
> >> schedule_timeout(HZ);
> >> return;
> >>}
> >
> >
> >And usecs stands for??
> >Funny thing is that there are actualy uses of this function.
>
> What do you think about msleep() as greg said?
msleep is definitely the way to go, it includes set_current_state, and
is more readable.
> >Also, please make -p1 applyable patches.
>
> I'm preparing my travel to debconf4, i'll be back on 30 May.In
> early June i'll send rediffied patches.As i said in a previous
> post it was my error.I was still considering the "old" SubmittingPatches.
>
>
> Thanks,
> Gustavo Franco
> _______________________________________________
> Kernel-janitors mailing list
> Kernel-janitors@lists.osdl.org
> http://lists.osdl.org/mailman/listinfo/kernel-janitors
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
prev parent reply other threads:[~2004-05-25 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-24 13:24 [Kernel-janitors] Re: Replaces yield() with nicedelay() on Domen Puncer
2004-05-24 14:31 ` Greg KH
2004-05-25 0:47 ` Gustavo Franco
2004-05-25 0:49 ` Gustavo Franco
2004-05-25 11:28 ` Domen Puncer [this message]
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=20040525112814.GA26362@nd47 \
--to=domen@coderock.org \
--cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.