From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267549AbUJDQ3z (ORCPT ); Mon, 4 Oct 2004 12:29:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268095AbUJDQ3z (ORCPT ); Mon, 4 Oct 2004 12:29:55 -0400 Received: from omx3-ext.sgi.com ([192.48.171.20]:6815 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S267549AbUJDQ3y (ORCPT ); Mon, 4 Oct 2004 12:29:54 -0400 Date: Mon, 4 Oct 2004 09:27:30 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Ulrich Drepper cc: George Anzinger , johnstul@us.ibm.com, Ulrich.Windl@rz.uni-regensburg.de, jbarnes@sgi.com, akpm@osdl.org, linux-kernel@vger.kernel.org, libc-alpha@sources.redhat.com Subject: Re: Posix compliant cpu clocks V6 [2/3]: Glibc patch In-Reply-To: <415E3D5A.2010501@redhat.com> Message-ID: References: <4154F349.1090408@redhat.com> <41550B77.1070604@redhat.com> <4159B920.3040802@redhat.com> <415AF4C3.1040808@mvista.com> <415E3D5A.2010501@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.