linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Joakim Tjernlund" <Joakim.Tjernlund@lumentis.se>
To: "Joakim Tjernlund" <Joakim.Tjernlund@lumentis.se>,
	"Wojciech Kromer" <krom@dgt-lab.com.pl>,
	"Linuxppc-Embedded (E-mail)"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: kernel/timer.c
Date: Sat, 12 Apr 2003 14:52:11 +0200	[thread overview]
Message-ID: <002901c300f2$58776090$020120b0@jockeXP> (raw)
In-Reply-To: 001901c300df$4a2bb030$020120b0@jockeXP


> > so, anyone knows what linus.t says about adding one jiffie  to every
> > non-zero expire?
>
> I think this is a bug. It should be enough to round up to nearest jiffie.
> Ask on the linux kernel list.
>
>  Jocke

Actually, I take that back. It's not a bug. schedule_timeout(x), x > 0 will wait
somewere between x-1 and x jiffies. Therefore one must add an extra
jiffie to make sure that you don't return too early.

     Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-04-12 12:52 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       ` kernel/timer.c Wojciech Kromer
2003-04-12 10:35         ` kernel/timer.c Joakim Tjernlund
2003-04-12 12:52           ` Joakim Tjernlund [this message]
  -- 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='002901c300f2$58776090$020120b0@jockeXP' \
    --to=joakim.tjernlund@lumentis.se \
    --cc=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).