Messages in this thread | | | Date | Thu, 22 Apr 2004 10:52:18 +0200 | From | Arjan van de Ven <> | Subject | Re: [PATCH] s390 (9/9): no timer interrupts in idle. |
| |
On Thu, Apr 22, 2004 at 10:48:11AM +0200, Martin Schwidefsky wrote: > > > > > > is this generally useful, eg can all architectures use the > > infrastructure you propose ? I seriously hope so; s390 isn't the only > > one who would benefit, I'd love to see a generic thing for this. > > It is. All you have to do is to rework the timer functions for the > architecture you want to support. This can be quite complicated > though. There are some subtle races if you want to switch of the > 100 HZ timer for a cpu. We had some problem with cpus that didn't > want to wake up anymore ...
well my worry is the API; should it be "turn the timer off" or should it be "the next tick is THIS many from now". The later allows one to use the hw in one-shot mode (PC's can do this) where the scheduler timeslice expiry ends up being a timer as well.
[unhandled content-type:application/pgp-signature] | |