The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: clockevent questions
Date: Sun, 13 May 2007 07:52:54 +0200	[thread overview]
Message-ID: <38b2ab8a0705122252kc067722s3298db20cfd5552a@mail.gmail.com> (raw)
In-Reply-To: <1179001391.22481.216.camel@localhost.localdomain>

On 5/12/07, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Sat, 2007-05-12 at 22:13 +0200, Francis Moreau wrote:
> > > Yes, it is correct. The generic timer code requests an event in the
> > > future. It does not care, whether the hardware device can handle that or
> > > not. So the clock event code limits the delta to the maximum delta the
> > > device can handle. The interrupt fires and the generic timer code
> > > reschedules the event with the remaining delta time.
> > >
> >
> > Thanks again for explanations. Could you give me a pointer of this reschedules ?
>
> Well, it ends up in hrtimer_interrupt() and the code there finds out,
> that the next timer is not due right now, so it simply requests the same
> (absolute) time event again, which is processed by the clock events code
> and eventually limited to the max delta of the device again.
>

OK, I'll give it a deeper look soon.

Thanks for your great work !
-- 
Francis

  reply	other threads:[~2007-05-13  5:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12 14:54 clockevent questions Francis Moreau
2007-05-12 15:14 ` Thomas Gleixner
2007-05-12 20:13   ` Francis Moreau
2007-05-12 20:23     ` Thomas Gleixner
2007-05-13  5:52       ` Francis Moreau [this message]
2007-05-15  8:47       ` Francis Moreau
2007-05-15 22:10         ` Thomas Gleixner
2007-05-16  7:42           ` Francis Moreau
2007-05-16  8:00             ` Thomas Gleixner

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=38b2ab8a0705122252kc067722s3298db20cfd5552a@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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