[PATCH 2/6] linux: Assume clock_getres CLOCK_{PROCESS,THREAD}_CPUTIME_ID
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Feb 11 12:10:00 GMT 2019
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.
More information about the Libc-alpha
mailing list