linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] pvclock: more code cleanup
@ 2016-06-15 12:46 Paolo Bonzini
  2016-06-15 12:46 ` [PATCH v2 1/2] pvclock: introduce seqcount-like API Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paolo Bonzini @ 2016-06-15 12:46 UTC (permalink / raw)
  To: linux-kernel, kvm; +Cc: Andy Lutomirski, Ingo Molnar, x86, Minfei Huang

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-27 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 12:46 [PATCH v2 0/2] pvclock: more code cleanup Paolo Bonzini
2016-06-15 12:46 ` [PATCH v2 1/2] pvclock: introduce seqcount-like API Paolo Bonzini
2016-06-15 12:46 ` [PATCH v2 2/2] x86: vdso: use __pvclock_read_cycles Paolo Bonzini
2016-06-27 14:16 ` [PATCH v2 0/2] pvclock: more code cleanup Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).