From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751944AbdHGSRj (ORCPT ); Mon, 7 Aug 2017 14:17:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57796 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbdHGSRh (ORCPT ); Mon, 7 Aug 2017 14:17:37 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CFA866147E Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=prarit@redhat.com Subject: Re: [PATCH v3] printk: Add boottime and real timestamps To: "Luis R. Rodriguez" References: <1501809524-496-1-git-send-email-prarit@redhat.com> <20170807171412.GK27873@wotan.suse.de> Cc: linux-kernel@vger.kernel.org, Mark Salyzyn , Jonathan Corbet , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Stultz , Thomas Gleixner , Stephen Boyd , Andrew Morton , Greg Kroah-Hartman , "Paul E. McKenney" , Christoffer Dall , Deepa Dinamani , Ingo Molnar , Joel Fernandes , Kees Cook , Peter Zijlstra , Geert Uytterhoeven , Nicholas Piggin , "Jason A. Donenfeld" , Olof Johansson , Josh Poimboeuf , linux-doc@vger.kernel.org From: Prarit Bhargava Message-ID: Date: Mon, 7 Aug 2017 14:17:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170807171412.GK27873@wotan.suse.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 07 Aug 2017 18:17:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/2017 01:14 PM, Luis R. Rodriguez wrote: > > Note printk_late_init() is a late_initcall(). This means if the > printk_time_setting was disabled it will take a while to enable it. Enabling it > is done at the device_initcall(), so if printk setting is disabled but a user > enables it with a toggle of the module param there is a period of time during > which time resolution would be different. I'm not sure I follow your comment. Could you elaborate with an example of what you think is going wrong or might be confusing? P. > Perhaps for some this is not useful > information but for others I think this would be very valuable. > > There is also something to say about the time in between initializing access > to ktime_get_mono_fast_ns(), how early is this reliable? > > All these things could be mentioned on the documentation. > > Luis >