From: Wojciech Kromer <krom@dgt-lab.com.pl>
To: "Linuxppc-Embedded (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: kernel/timer.c
Date: Sat, 12 Apr 2003 11:32:16 +0200 [thread overview]
Message-ID: <3E97DD20.6030908@dgt-lab.com.pl> (raw)
In-Reply-To: <000901c300cd$b708f8a0$020120b0@jockeXP>
>
>
>>sleep(0) could be defined as:
>>-schedule to next task if there is any (just call schedule() )
>>-sleep minimum value (1 jiffie)
>>
>>default kernel (no timer patches) uses second definition,
>>
>>
>
>No, linux uses the first definition(or whatever schedule_timeout(0) does).
>If t is zero then expire also becomes zero.
>
>
maybe, my missunderstood
>>there is special call schedule_timeout(MAX_SCHEDULE_TIMEOUT) which also
>>calls schedule()
>>
>>
see kernel/sched.c
so, anyone knows what linus.t says about adding one jiffie to every
non-zero expire?
--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * * mailto:krom@dgt-lab.com.pl
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-04-12 9:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-11 13:17 kernel/timer.c Wojciech Kromer
2003-04-11 14:38 ` kernel/timer.c Joakim Tjernlund
2003-04-12 7:07 ` kernel/timer.c Wojciech Kromer
2003-04-12 8:29 ` kernel/timer.c Joakim Tjernlund
2003-04-12 9:32 ` Wojciech Kromer [this message]
2003-04-12 10:35 ` kernel/timer.c Joakim Tjernlund
2003-04-12 12:52 ` kernel/timer.c Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2003-04-11 21:25 kernel/timer.c Darin.Johnson
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=3E97DD20.6030908@dgt-lab.com.pl \
--to=krom@dgt-lab.com.pl \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).