This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21305] clock_gettime(CLOCK_MONOTONIC_RAW) can and should use rdtsc instructions instead of entering kernel through VDSO
- From: "jason.vas.dias at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 24 Mar 2017 18:48:47 +0000
- Subject: [Bug libc/21305] clock_gettime(CLOCK_MONOTONIC_RAW) can and should use rdtsc instructions instead of entering kernel through VDSO
- Auto-submitted: auto-generated
- References: <bug-21305-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21305
--- Comment #3 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
Actually, I think only the gtod->mult ever gets updated,
not the gtod->shift; so unlocked readers might sometimes
read a gtod->mult value that has just been updated and
get its old value - this does not seem to me to be a
major disincentive to unlocked clock_gettime(CLOCK_MONOTONIC_RAW,&ts)
readers, because they want the unadjusted value anyway .
--
You are receiving this mail because:
You are on the CC list for the bug.