From: Alexander Sverdlin <[email protected]> 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

