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: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 24 Mar 2017 17:40:59 +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
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.