This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/6] linux: Assume clock_getres CLOCK_{PROCESS,THREAD}_CPUTIME_ID
* Adhemerval Zanella:
> On 11/02/2019 09:43, Florian Weimer wrote:
>> * Adhemerval Zanella:
>>
>>> nscd uses _SC_MONOTONIC_CLOCK and if I understood correctly both IA64
>>> manual and kernel code, the CLOCK_MONOTONIC implementation on SMP IA64
>>> system with ITC that may drift is a best effort...
>>
>> Are you sure about that? Wouldn't that be a bug in kernel
>> clock_gettime, and not something we should paper over in userspace?
>
> Not sure, I was just my impression checking kernel ia64 code but I am
> not an architecture expert. To be safe I kept the original code in
> patch proposal.
I think it's not worth maintaing the ia64 divergence for this. If it is
a problem with the kernel's CLOCK_MONOTONIC implementation, it has to be
fixed there.
Thanks,
Florian