public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Initial bits to help pull jiffies out of drivers
Date: Tue, 03 Aug 2004 01:35:44 +0200	[thread overview]
Message-ID: <m37jshru3z.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <2mGr0-7w6-27@gated-at.bofh.it> (Alan Cox's message of "Tue, 27 Jul 2004 22:10:10 +0200")

Alan Cox <alan@redhat.com> writes:

> This is really for comment, the basic idea is to add some relative
> timer functionality. This gives us timeout objects as well as pulling
> jiffies use into one place in the timer code. The need for the old
> interfaces never goes away however because some code uses a previous
> event base to construct timeouts to avoid sliding due to the latency
> between service and re-addition.

I don't think it matters much for the specific goal of getting rid
of regular timer ticks. I expect even a jiffies less kernel to
emulate jiffies using CLOCK_MONOTONIC and some timer for quite some
time. Basically on these kernels it will just be a bit more expensive
too use, but not much.

Of course add_timeout makes a nicer API in general, so it may be 
still a good idea.

-Andi


       reply	other threads:[~2004-08-02 23:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2mGr0-7w6-27@gated-at.bofh.it>
2004-08-02 23:35 ` Andi Kleen [this message]
2004-08-05 13:57 Initial bits to help pull jiffies out of drivers Martin Schwidefsky
  -- strict thread matches above, loose matches on Subject: below --
2004-07-27 19:59 Alan Cox
2004-08-02 21:33 ` Tim Bird
2004-08-02 21:52   ` Alan Cox
2004-08-03  8:27 ` Arjan van de Ven

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=m37jshru3z.fsf@averell.firstfloor.org \
    --to=ak@muc.de \
    --cc=alan@redhat.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