From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423864AbdKRBAv (ORCPT ); Fri, 17 Nov 2017 20:00:51 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:53277 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423848AbdKRBAm (ORCPT ); Fri, 17 Nov 2017 20:00:42 -0500 Date: Sat, 18 Nov 2017 02:00:35 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds cc: 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 In-Reply-To: Message-ID: References: <7d23f705-1479-7874-7918-f2af9ec02c86@android.com> <7f0e0165-2b22-f2cf-ce6e-8db3d7325973@android.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Nov 2017, Linus Torvalds wrote: > On Fri, Nov 17, 2017 at 4:26 PM, Thomas Gleixner wrote: > > > > Here you go. It survived suspend resume in a VM. > > That looks almost too small. > > If this were to allow us to basically unify BOOTTIME/MONOTONIC, that > would be lovely. I surely missed something. John should figure that out faster than me. > Should we just try it, with the understanding that we'll quite > possibly have to just revert? You've seen the warning in the changelog :) > Assuming this works, what would the "phase two" patch that actually > unifies the two (as opposed to make them have the same value) look > like? > > Is that just basically just removing the dozen or so "offst_boot" > uses, or are there other possible simplifications? Pretty much. We can't get rid of CLOCK_BOOTTIME and the handling of it, though we can remove one hrtimer clock base by mapping boot time to monotonic. That's about it. Thanks, tglx