[Bug libc/21305] clock_gettime(CLOCK_MONOTONIC_RAW) can and should use rdtsc instructions instead of entering kernel through VDSO
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Mar 24 17:41:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=21305
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Flags| |security-
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Does your kernel actually implement CLOCK_MONOTONIC_RAW in the vDSO? I think
upstream doesn't do that.
I don't see why your proposed performance enhancement couldn't be applied to
the vDSO itself. I don't think it is a good idea to put detailed knowledge
about system clocks into glibc.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list