From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751176AbdKTGbT (ORCPT ); Mon, 20 Nov 2017 01:31:19 -0500 Received: from la.guarana.org ([173.254.219.205]:39192 "EHLO la.guarana.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751003AbdKTGbS (ORCPT ); Mon, 20 Nov 2017 01:31:18 -0500 X-Greylist: delayed 620 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Nov 2017 01:31:18 EST Date: Mon, 20 Nov 2017 01:20:57 -0500 From: Kevin Easton To: Thomas Gleixner Cc: Linus Torvalds , Mark Salyzyn , Petr Mladek , LKML , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Andrew Morton , Prarit Bhargava , Sergey Senozhatsky , Steven Rostedt , John Stultz Subject: Re: [GIT pull] printk updates for 4.15 Message-ID: <20171120062057.GA31822@la.guarana.org> References: <7f0e0165-2b22-f2cf-ce6e-8db3d7325973@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 18, 2017 at 01:26:07AM +0100, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Thomas Gleixner wrote: > > I hope that I can find a few spare cycles to whip up a POC patch which does > > not make stuff fall apart immediately. > > Here you go. It survived suspend resume in a VM. > > Thanks, > > tglx > > 8<------------------------ > Subject: timekeeping: Make monotonic behave like boottime > From: Thomas Gleixner > Date: Fri, 17 Nov 2017 11:46:48 +0100 > > Clock MONOTONIC is not fast forwarded by the time spent in suspend on > resume. This is only done for BOOTTIME. > > It would be desired to get rid of that difference, but the difference > between clock MONOTONIC and clock BOOTTIME is well documented so there > might be applications which depend on that behaviour. As a comment from the userspace peanut gallery, I personally hope this does pass muster. The existing POSIX wording implies that MONOTONIC doesn't stop counting over suspend, and that's what you need when you want to know the time elapsed between two external events. - Kevin >