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


Groups > linux.kernel > #1653489

Re: [RFC][PATCH 2/4] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting

From Daniel Mentz <danielmentz@google.com>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH 2/4] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting
Date 2017-05-30 20:50 +0200
Message-ID <tMUno-2tM-11@gated-at.bofh.it> (permalink)
References <tLAK5-6i9-1@gated-at.bofh.it> <tLAK5-6i9-9@gated-at.bofh.it> <tLEul-cX-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, May 27, 2017 at 12:36 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> * John Stultz <john.stultz@linaro.org> wrote:
>
>> +     u64 nsecps;
>
> What does the 'ps' postfix stand for? It's not obvious (to me).
>

I guess that nsecps stands for "nanoseconds per second", although the
code appears to be storing that value left shifted by
tk->tkr_raw.shift.

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


Thread

[RFC][PATCH 0/4] Fixes for two recently found timekeeping bugs John Stultz <john.stultz@linaro.org> - 2017-05-27 05:40 +0200
  [RFC][PATCH 4/4] time: Clean up CLOCK_MONOTONIC_RAW time handling John Stultz <john.stultz@linaro.org> - 2017-05-27 05:40 +0200
  [RFC][PATCH 2/4] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting John Stultz <john.stultz@linaro.org> - 2017-05-27 05:40 +0200
    Re: [RFC][PATCH 2/4] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond  accounting Ingo Molnar <mingo@kernel.org> - 2017-05-27 09:40 +0200
      Re: [RFC][PATCH 2/4] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting Daniel Mentz <danielmentz@google.com> - 2017-05-30 20:50 +0200
  [RFC][PATCH 1/4] time: Fix clock->read(clock) race around clocksource changes John Stultz <john.stultz@linaro.org> - 2017-05-27 05:40 +0200
    Re: [RFC][PATCH 1/4] time: Fix clock->read(clock) race around  clocksource changes Ingo Molnar <mingo@kernel.org> - 2017-05-27 09:40 +0200
  [RFC][PATCH 3/4] arm64: vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW John Stultz <john.stultz@linaro.org> - 2017-05-27 06:20 +0200
    Re: [RFC][PATCH 3/4] arm64: vdso: Fix nsec handling for  CLOCK_MONOTONIC_RAW Will Deacon <will.deacon@arm.com> - 2017-05-30 11:40 +0200
  Re: [RFC][PATCH 0/4] Fixes for two recently found timekeeping bugs Ingo Molnar <mingo@kernel.org> - 2017-05-27 09:40 +0200
    Re: [RFC][PATCH 0/4] Fixes for two recently found timekeeping bugs John Stultz <john.stultz@linaro.org> - 2017-05-27 18:20 +0200
      Re: [RFC][PATCH 0/4] Fixes for two recently found timekeeping bugs Ingo Molnar <mingo@kernel.org> - 2017-05-28 11:00 +0200
  Re: [RFC][PATCH 0/4] Fixes for two recently found timekeeping bugs Daniel Mentz <danielmentz@google.com> - 2017-05-31 02:20 +0200

csiph-web