All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wolfgang.grandegger@domain.hid>
Cc: adeos-main <adeos-main@gna.org>
Subject: Re: [Adeos-main] adeos_tune_timer()
Date: Thu, 03 Jun 2004 11:15:26 +0200	[thread overview]
Message-ID: <1086254126.680.15.camel@domain.hid> (raw)
In-Reply-To: <40C03A5E.7030006@domain.hid>

On Fri, 2004-06-04 at 11:01, Wolfgang Grandegger wrote:
> Hello,
> 
> the function adeos_tune_timer() allows to change the tick frequency of
> the hardware timer. I wonder if Linux is aware of this change? Doesn't
> it still believe that the timer interrupt comes at a rate of 100 Hz?
> 

No, Linux is not aware of that. It's the burden of the domain tuning the
timer to also intercept the timer interrupt and propagate one of them
down the pipeline at the proper pace (e.g. 1 from 10 if the domain sets
the timer for ticking at 10Khz, and Linux expects 1Khz), so that Linux
is not affected by the change. Of course, this only works if the timer
is tuned by a domain more prioritary than Linux, so such propagation can
occur; less prioritary domains should not have to grab the timer anyway.

IIRC, some example code in the tree illustrates this principle for the
timer IRQ.

> Wolfgang.
> 
> _______________________________________________
> Adeos-main mailing list
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main
-- 

Philippe.



      reply	other threads:[~2004-06-03  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04  9:01 [Adeos-main] adeos_tune_timer() Wolfgang Grandegger
2004-06-03  9:15 ` Philippe Gerum [this message]

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=1086254126.680.15.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=adeos-main@gna.org \
    --cc=wolfgang.grandegger@domain.hid \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.