Re: finding out the value of HZ from userspace

From: Peter Williams
Date: Sat Mar 20 2004 - 19:01:33 EST


Arjan van de Ven wrote:
On Sat, Mar 20, 2004 at 12:28:00PM +0100, Stefan Smietanowski wrote:

Then you include it in the default distro of choice so that
everybody can use it and there you are.


but what is the POINT of all this changing/breaking ?
Can someone at least tell me that ?

In the 2.6 kernels internal timing and task statistics (for i386 systems) are now kept in milliseconds where they were previously in 1/100ths of a second. By converting these statistics to 1/100ths of a second for export to user space an order of magnitude (i.e. a factor of 10) loss of precision occurs.

Peter
PS I'd like to point out that there are changes in 2.6 kernels that have more serious consequences than this that have to be coped with when using 2.6 kernels on distributions such as RedHat 9 that were built around older kernels.
--
Dr Peter Williams, Chief Scientist peterw@xxxxxxxxxx
Aurema Pty Limited Tel:+61 2 9698 2322
PO Box 305, Strawberry Hills NSW 2012, Australia Fax:+61 2 9699 9174
79 Myrtle Street, Chippendale NSW 2008, Australia http://www.aurema.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/