[PATCH] Get correct CPU frequency from sysfs
Andi Kleen
andi@firstfloor.org
Mon Aug 3 03:48:00 GMT 2009
On Sun, Aug 02, 2009 at 12:31:37PM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andi Kleen wrote:
> > Get correct CPU frequency from sysfs
>
> Where do you see a problem?
I got a report for clock_gettime going backwards. I think that
was on some enterprise distro, either rhel5 or sles10.
>
> This code should only be used on ancient kernels without the clock_*
> syscalls.
Ok.
> Those kernels also don't have the /sys facilities, I think.
Not sure that's true.
> Don't just send patches, describe the problem first.
Thanks for the encouraging words.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
More information about the Libc-alpha
mailing list