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
> [email protected]
> https://mail.gna.org/listinfo/adeos-main
-- 

Philippe.


Reply via email to