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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux