The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortel.com>
To: george@mvista.com
Cc: bhavesh@avaya.com, linux-kernel@vger.kernel.org
Subject: Re: 2.6.11 timeval_to_jiffies() wrong for ms resolution timers
Date: Wed, 25 May 2005 12:07:33 -0600	[thread overview]
Message-ID: <4294BEE5.7030100@nortel.com> (raw)
In-Reply-To: <4294BBE8.3030004@mvista.com>

George Anzinger wrote:
> Chris Friesen wrote:

>> What about telling it to wake up a jiffy earlier, then checking 
>> whether the scheduling lag was enough to cause it to have waited the 
>> full specified time.  If not, put it to sleep for another jiffy.

> The user is, of course, free to do what ever they would like.  

I actually meant doing this in the kernel.

 > For a
> more complete solution you might be interested in HRT (High Res 
> Timers).  See my signature below.

Yep.  One more patch to apply and worry about versions and maintenance. 
  Not enough of a demand for us to be able to use it, at least at this 
point.

Chris


  reply	other threads:[~2005-05-25 18:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24 22:59 2.6.11 timeval_to_jiffies() wrong for ms resolution timers Bhavesh P. Davda
2005-05-25 17:21 ` George Anzinger
2005-05-25 17:37   ` Chris Friesen
2005-05-25 17:54     ` George Anzinger
2005-05-25 18:07       ` Chris Friesen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25 19:06 Davda, Bhavesh P (Bhavesh)
2005-05-25 20:02 ` George Anzinger
2005-05-25 21:41   ` Thomas Gleixner
2005-05-26 17:04   ` Olivier Croquette
2005-05-26 18:10     ` Richard B. Johnson
2005-05-26 18:19       ` Lee Revell
2005-05-26 19:24         ` George Anzinger
2005-05-26 19:32           ` Lee Revell
2005-05-25 19:16 Davda, Bhavesh P (Bhavesh)

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=4294BEE5.7030100@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=bhavesh@avaya.com \
    --cc=george@mvista.com \
    --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