Theodore Y. Ts'o writes:
> Date: Fri, 30 Jun 2000 16:40:36 -0600
> From: Richard Gooch <[EMAIL PROTECTED]>
>
> We've had this debate before. Linus said that there are two versions
> of HZ: one for the kernel and one for user-space. The user-space one
> should not change. All time values reported to user-space should be
> absolute units, or jiffie values should be convert to the user-space
> HZ units.
>
> That's all very well and good, but it's not what's currently
> implemented in the kernel...... (there currently is only one HZ
> defined, and if you change it, it changes both the kernel clock
> resolution as well as the time values which are reported to the
> userspace).
Correct. Linus was talking in the sense "if we wanted to change the
timer tick, then we have to...". He was in fact arguing against a
sysctl to obtain the HZ value, saying that user-space should not know
what the timer tick interval was. Either we should convert to an
arbitrary HZ unit, or (better) convert to real units (s, ms, us, ns).
Regards,
Richard....
Permanent: [EMAIL PROTECTED]
Current: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/