This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21305] clock_gettime(CLOCK_MONOTONIC_RAW) can and should use rdtsc instructions instead of entering kernel through VDSO


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]