Skip to content

x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSO

Huw Davies lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/vdso: Remove unused 'mask' memberarch/x86/entry/vsyscall/vsyscall_gtod.c arch/x86/include/asm/vgtod.h+0 -21 reply
2/3x86/vdso: Allow clock specific mult and shift valuesarch/x86/entry/vdso/vclock_gettime.c arch/x86/entry/vsyscall/vsyscall_gtod.c arch/x86/include/asm/vgtod.h+11 -76 replies
3/3x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSOarch/x86/entry/vsyscall/vsyscall_gtod.c arch/x86/include/asm/vgtod.h+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
Cc Andy Lutomirski <[email protected]>

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(-)
Signature · 1 line
2.17.1