Re: No 100 HZ timer !

Alan Cox
2001-04-09T22:35:09Z

> > Its worth doing even on the ancient x86 boards with the PIT.
>
> Note that programming the PIT is sloooooooow and doing it on every timer
> add_timer/del_timer would be a pain.

You only have to do it occasionally.

When you add a timer newer than the current one
(arguably newer by at least 1/2*HZ sec)
When you finish running the timers at an interval and the new interval is
significantly larger than the current one.

Remember each tick we poke the PIT anyway