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.
Please ack the vDSO changes! Paolo v2->v3: add unlikely() around read_retry check. 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