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

2016-06-27 Thread Paolo Bonzini
On 15/06/2016 14:46, Paolo Bonzini wrote: > 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. Andy, I've now benchmarked the patches. Patch 2 introduces no meaningf

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

2016-06-15 Thread Paolo Bonzini
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/