Messages in this thread | | | Date | Mon, 13 Dec 2004 13:43:13 +0100 | From | Pavel Machek <> | Subject | Re: dynamic-hz |
| |
Hi!
> > Well most x86(64) these days have local APICs and that provides a > > relatively inexpensive one shot timer mode. > > I doubt a one shot is appropriate. The irq latency is variable and we > won't be able to atomically read tsc and rearm the one-shot timer. The > intemediate error will propagate over time.
But that does not matter, right? Yes, one-shot timer will not fire exactly at right place, but as long as you are reading TSC and basing next shot on current time, error should not accumulate. Pavel -- Boycott Kodak -- for their patent abuse against Java. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |