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


Groups > linux.kernel > #1713520

Re: [PATCH 1/2 v6] time: Make fast functions return 0 before timekeeping is initialized

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2 v6] time: Make fast functions return 0 before timekeeping is initialized
Date 2017-08-17 05:50 +0200
Message-ID <ufjYK-7yX-19@gated-at.bofh.it> (permalink)
References <uf8gV-gn-3@gated-at.bofh.it> <uf8gZ-gn-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 16, 2017 at 8:17 AM, Prarit Bhargava <prarit@redhat.com> wrote:
> printk timestamps will be extended to include mono and boot time by using
> the fast timekeeping functions ktime_get_mono|boot_fast_ns() functions.
> The functions can return garbage before timekeeping is initialized
> resulting in garbage timestamps.
>
> The fast time functions must return 0 before timekeeping is initialized.
>

This looks reasonable. I can queue it, but you still have feedback to
address on 2/2, so I may wait until that is sorted.

thanks
-john

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


Thread

[PATCH 0/2 v6] printk: Add new timestamps Prarit Bhargava <prarit@redhat.com> - 2017-08-16 17:20 +0200
  [PATCH 1/2 v6] time: Make fast functions return 0 before timekeeping is initialized Prarit Bhargava <prarit@redhat.com> - 2017-08-16 17:20 +0200
    Re: [PATCH 1/2 v6] time: Make fast functions return 0 before  timekeeping is initialized John Stultz <john.stultz@linaro.org> - 2017-08-17 05:50 +0200
  Re: [PATCH 2/2 v6] printk: Add monotonic, boottime, and realtime  timestamps Mark Salyzyn <salyzyn@android.com> - 2017-08-16 17:50 +0200
  Re: [PATCH 2/2 v6] printk: Add monotonic, boottime, and realtime timestamps John Stultz <john.stultz@linaro.org> - 2017-08-17 05:50 +0200

csiph-web