This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Get correct CPU frequency from sysfs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]