Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

Bill Davidsen
2005-07-15T01:13:11Z

David Lang wrote:

> On Wed, 13 Jul 2005, Bill Davidsen wrote:
>
>> How serious is the 1/HZ = sane problem, and more to the point how
>> many programs get the HZ value with a system call as opposed to
>> including a header or building it in? I know some of my older
>> programs use header files, that was part of the planning for the
>> future even before 2.5 started. At the time I didn't expect to have
>> to use the system call.
>
>
> in binary 1/100 or 1/1000 are not sane values to start with so I don't
> think that that this is likly to be that critical (remembering that
> the kernel doesn't do floating point math)

The kernel isn't the issue, it's programs which do timing and get values
in ticks which they convert to time by dividing by HZ. I at least get
that from a header, proper way would be with the syscall.

--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979