lkml.org 
[lkml]   [2019]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] x86/vdso: CLOCK_MONOTONIC_RAW implementation
Date
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

\
 
 \ /
  Last update: 2019-06-05 16:42    [W:0.134 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site