[PATCH 2/6] linux: Assume clock_getres CLOCK_{PROCESS,THREAD}_CPUTIME_ID

Florian Weimer fweimer@redhat.com
Mon Feb 11 11:43:00 GMT 2019


* 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?

Thanks,
Florian



More information about the Libc-alpha mailing list