From: Thomas Gleixner <tglx@linutronix.de>
To: Prarit Bhargava <prarit@redhat.com>
Cc: linux-kernel@vger.kernel.org,
John Stultz <john.stultz@linaro.org>,
Xunlei Pang <pang.xunlei@linaro.org>,
Baolin Wang <baolin.wang@linaro.org>,
Andrew Morton <akpm@linux-foundation.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Petr Mladek <pmladek@suse.cz>, Tejun Heo <tj@kernel.org>,
Peter Hurley <peter@hurleysoftware.com>,
Vasily Averin <vvs@virtuozzo.com>, Joe Perches <joe@perches.com>
Subject: Re: [PATCH] printk, allow different timestamps for printk.time
Date: Wed, 27 Jan 2016 10:39:17 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.11.1601271030590.3886@nanos> (raw)
In-Reply-To: <56A7DC85.4070603@redhat.com>
On Tue, 26 Jan 2016, Prarit Bhargava wrote:
> On 01/26/2016 03:34 PM, Thomas Gleixner wrote:
> > Just for the record: The fast timekeeper stops across the inner workings of
> > suspend/resume. But I think that doesn't matter much.
>
> I've had to debug s/r before using the sysfs interface. It is nice to have that
> with a proper timestamp because a lot of the failures are in the driver suspend
> and resume paths. I could easily change the options to:
The timekeeper suspends/resumes in the syscore section, so the driver part is
not affected.
> 0 = disable
> 1 = local clock (which along with 0 would maintain the current state of things)
> 2 = monotonic
> 3 = real
Yes, that works.
Btw, you need to document, that REAL can occasionally provide a wrong value on
32bit machines in case that a concurrent update of the realtime offset happens
(settimeofday, leap seconds ...). That's because we access real_offset w/o the
seqcount protection. It's probably hard to achieve, but it might happen.
Thanks,
tglx
prev parent reply other threads:[~2016-01-27 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 15:12 Prarit Bhargava
2016-01-26 20:34 ` Thomas Gleixner
2016-01-26 20:52 ` Prarit Bhargava
2016-01-27 9:39 ` Thomas Gleixner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.11.1601271030590.3886@nanos \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=joe@perches.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pang.xunlei@linaro.org \
--cc=peter@hurleysoftware.com \
--cc=pmladek@suse.cz \
--cc=prarit@redhat.com \
--cc=tj@kernel.org \
--cc=vvs@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®