[PATCH v2 0/2] pvclock: more code cleanup

From: Paolo Bonzini
Date: Wed Jun 15 2016 - 08:47:04 EST


Patch 1 simplifies the pvclock.h API by moving seqcount logic into
two new functions pvclock_read_begin and pvclock_read_retry.
Patch 2 uses the new simplified API in the vDSO.

Paolo

Paolo Bonzini (2):
pvclock: introduce seqcount-like API
x86: vdso: use __pvclock_read_cycles

arch/x86/entry/vdso/vclock_gettime.c | 25 +++++------------------
arch/x86/include/asm/pvclock.h | 39 +++++++++++++++++++++---------------
arch/x86/kernel/pvclock.c | 17 ++++++----------
3 files changed, 34 insertions(+), 47 deletions(-)

--
1.8.3.1