Re: [rfc][patch] API for timer hooks

Stas Sergeev
2005-08-17T17:41:10Z

Hello.

Lee Revell wrote:
> Lots of things aren't doable with the current timer API, hence all the
> recent work on dynamic tick.
I've found only this about the dynamic
tick:
http://lwn.net/Articles/138969/
and it seems that it is intended only
to slow down the interrupts when there
is no work to do, rather than to allow
setting an arbitrary frequencies or something
like that.
I guess now I realized how you (and Nish)
assume I could use it: is it that I
should set CONFIG_HZ to the value I
need at compile-time, and just remove
all the timer reprogramming from the
driver in a hope the dynamic-tick patch
will slow it down itself when necessary?
Or am I misunderstanding the suggestion?
That would be really excellent, but
it there a patch around that allows to
set an arbitrary CONFIG_HZ values, or should
I try to code up one myself? I think
I tried that a few years ago, and the
code all around the kernel was resisting
to work with HZ>1000, but I guess now
it was all changed.