[PATCH 0/3] x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSO

From: Huw Davies
Date: Thu Apr 11 2019 - 06:30:56 EST


This series adds support for the CLOCK_MONOTONIC_RAW clock in the x86
vDSO, thus decreasing its readout cost. This is particularly useful
for Wine which needs to implement Win32 API clock functions whose
value does not get adjusted with adjtimex().

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>

Huw Davies (3):
x86/vdso: Remove unused 'mask' member
x86/vdso: Allow clock specific mult and shift values
x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSO

arch/x86/entry/vdso/vclock_gettime.c | 4 ++--
arch/x86/entry/vsyscall/vsyscall_gtod.c | 15 ++++++++++++---
arch/x86/include/asm/vgtod.h | 10 +++++-----
3 files changed, 19 insertions(+), 10 deletions(-)

--
2.17.1