Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432078

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

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/2] pvclock: more code cleanup
Date 2016-06-27 16:30 +0200
Message-ID <rOFHX-1ok-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] pvclock: more code cleanup Paolo Bonzini <pbonzini@redhat.com> - 2016-06-27 16:30 +0200
  [PATCH 1/2] pvclock: introduce seqcount-like API Paolo Bonzini <pbonzini@redhat.com> - 2016-06-27 16:30 +0200
    Re: [PATCH 1/2] pvclock: introduce seqcount-like API Andy Lutomirski <luto@amacapital.net> - 2016-07-06 15:40 +0200

csiph-web