Messages in this thread | | | From | "Sverdlin, Alexander (Nokia - DE/Ulm)" <> | Subject | [PATCH v3 0/2] x86/vdso: CLOCK_MONOTONIC_RAW implementation | Date | Wed, 5 Jun 2019 14:41:41 +0000 |
| |
From: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Trivial vDSO implementation saves a syscall and brings 700% performance boost of clock_gettime(CLOCK_MONOTONIC_RAW, ...) call.
Changelog: v3: Move mult and shift into struct vgtod_ts v2: copy do_hres() into do_monotonic_raw()
Alexander Sverdlin (2): x86/vdso: Move mult and shift into struct vgtod_ts x86/vdso: implement clock_gettime(CLOCK_MONOTONIC_RAW, ...)
arch/x86/entry/vdso/vclock_gettime.c | 4 ++-- arch/x86/entry/vsyscall/vsyscall_gtod.c | 14 ++++++++++++-- arch/x86/include/asm/vgtod.h | 7 ++++--- 3 files changed, 18 insertions(+), 7 deletions(-)
-- 2.4.6
| |