This is the mail archive of the 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] PPC64 enable hp-timing

Benjamin Herrenschmidt wrote:

On Sun, 2005-10-30 at 17:55 -0800, Roland McGrath wrote:

Well if this is a problem, i386, ia64, and x86_64 have it too. They are all implemented the same way. sparc64 uses an 8K buffer.

In fact all these functions are all looking for just one string and it will
always in reality appear well before the first 4k.

No, on ppc64, it will be at the end.

Wouldn't it make a bit more sense to put timebase into sometime else in /proc? Seems silly to have that value inside of /proc/cpuinfo in the first place.

Course on ppc64 there is

/proc/device-tree/cpus/PowerPC,POWER5@0/timebase-frequency which can get the same value without having to deal with cpuinfo and it's variable size. Course the problem with looking in device-tree is that of course is a config option to the kernel and really valid only on OF hardware.

Still that leads me back to my original observation, shouldn't/couldn't timebase be put into it's own file in /proc?



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