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


Groups > linux.kernel > #1408151

Re: [PATCH 2/3] pvclock: Cleanup to remove function pvclock_get_nsec_offset

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] pvclock: Cleanup to remove function pvclock_get_nsec_offset
Date 2016-05-27 17:50 +0200
Message-ID <rDsbo-5gf-19@gated-at.bofh.it> (permalink)
References <rDjhL-8fO-5@gated-at.bofh.it> <rDjhL-8fO-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 26, 2016 at 11:17 PM, Minfei Huang <mnghuan@gmail.com> wrote:
> Function __pvclock_read_cycles is short enough, so there is no need to
> have another function pvclock_get_nsec_offset to calculate tsc delta.
> It's better to combine it into function __pvclock_read_cycles.
>
> Remove useless variables in function __pvclock_read_cycles.

LGTM.

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


Thread

[PATCH 2/3] pvclock: Cleanup to remove function pvclock_get_nsec_offset Minfei Huang <mnghuan@gmail.com> - 2016-05-27 08:20 +0200
  Re: [PATCH 2/3] pvclock: Cleanup to remove function pvclock_get_nsec_offset Andy Lutomirski <luto@amacapital.net> - 2016-05-27 17:50 +0200

csiph-web