This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Posix compliant cpu clocks V6 [2/3]: Glibc patch
- From: Christoph Lameter <clameter at sgi dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: George Anzinger <george at mvista dot com>, johnstul at us dot ibm dot com, Ulrich dot Windl at rz dot uni-regensburg dot de, jbarnes at sgi dot com, akpm at osdl dot org, linux-kernel at vger dot kernel dot org, libc-alpha at sources dot redhat dot com
- Date: Mon, 4 Oct 2004 09:27:30 -0700 (PDT)
- Subject: Re: Posix compliant cpu clocks V6 [2/3]: Glibc patch
- References: <B6E8046E1E28D34EB815A11AC8CA312902CD3264@mtv-atc-605e--n.corp.sgi.com><Pine.LNX.4.58.0409240508560.5706@schroedinger.engr.sgi.com><4154F349.1090408@redhat.com> <Pine.LNX.4.58.0409242253080.13099@schroedinger.engr.sgi.com><41550B77.1070604@redhat.com> <B6E8046E1E28D34EB815A11AC8CA312902CD327E@mtv-atc-605e--n.corp.sgi.com><Pine.LNX.4.58.0409271344220.32308@schroedinger.engr.sgi.com><4159B920.3040802@redhat.com> <Pine.LNX.4.58.0409282017340.18604@schroedinger.engr.sgi.com><415AF4C3.1040808@mvista.com> <B6E8046E1E28D34EB815A11AC8CA31290322B307@mtv-atc-605e--n.corp.sgi.com><Pine.LNX.4.58.0410011259190.18738@schroedinger.engr.sgi.com><415E3D5A.2010501@redhat.com>
On Fri, 1 Oct 2004, Ulrich Drepper wrote:
> Did you ever hear about a concept called binary compatiblity? Don't
> bother working on any glibc patch.
The patch provides complete backwards compatibility if _ASSUME_POSIX_TIMERS is not set.
If _ASSUME_POSIX_TIMERS is set then the patch assumes that this also
indicates that the cpu timers are available. Which would break binary
compatibility. Is that what you are referring to?
Also it seems the patch does not address clock_getcpuclockid() etc. I can
add that.
I had to take the material from sysdeps/unix/clock_* and put it into
sysdeps/unix/sysv/linux/clock_* because otherwise I would have broken all
the other users of sysdeps/unix/clock_*. I need the fallback to the
timer syscalls for clockids unknown to glibc that would have meant a
significant change to the code in sysdeps/unix/clock_*
I would be very grateful if you could indicate to me what fixes are
necessary to make the patch acceptable.