Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp929955ybx; Thu, 7 Nov 2019 04:51:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyG2DLvwYtOW+pBsSC9i5uaS+Jn0vsOm+ejnmU7mPhcd8gMC5KO8Q4mT433U6q9A7V4qJOh X-Received: by 2002:a17:906:7344:: with SMTP id h4mr2873664ejl.30.1573131108117; Thu, 07 Nov 2019 04:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573131108; cv=none; d=google.com; s=arc-20160816; b=GYY/y0RBfUWjMH12e7hnqB1VEnyfitwP1rtahJD7SfiSKS5URHJT+/5VlPwFjI85B4 NWvzkA6oocGgd22Hy202s3GXz4u1lwVHnlY1PVaycThKf3lra2HDhGawW5dw15LP2OxD X3NdzEAJa5J3r6vJRKAT9Seapai+ADbgLaRWjbXcq+nTCgTOhSU+doHnrYTm8uyzaCiA 0DjtSdw6IxdujSegenOlDIjfy9jDpDI79dAX8aoIqJ9Hig2vkNhYyRieiQF5C8KXzHMb usEFHCiRBnuHIL49bB+eIhgp9C5tz/FoUp4czf/RC0rcs4S4QAkTYa6inUcnpRuT9weu mRWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=T7F/zvXOPKa8aCq1Vyccb+zoCxdKW+wgomzNxicYjaE=; b=Iz6ImPA+ThvctwZ44O08or4xHOZLmcrO64FPMUxX6NE4j7zMwYqmJi/WCavJlpTqUL bIRB6vGLYDgcrqVswjsl1mbCSV6vfTf1bNPam/XXO1PmfYAZRH0ifja+CPbCypuPHoRp qnPa0bw6O9k4uy/hix86hqOpPSOOo3xMxvhswQF/Uexb1HG+BKd33wsE8IxKcjpZEJZa jZoC39kCL/HWDEit0x2No8xIVNwIQ+krQ/RCdDAy/Sa5BqsyuXl408MxrjIsOzTOkACQ 4fGr7HCyYAtiseNbeavSkLvmzUn3UYQ8DdhPsSYN44tCsA0Vx7OTfuBZjbEDXeIDkKMN gnuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ZRxpJygO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p21si1331215edc.305.2019.11.07.04.51.24; Thu, 07 Nov 2019 04:51:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ZRxpJygO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388728AbfKGMt1 (ORCPT + 99 others); Thu, 7 Nov 2019 07:49:27 -0500 Received: from merlin.infradead.org ([205.233.59.134]:60304 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388206AbfKGMt0 (ORCPT ); Thu, 7 Nov 2019 07:49:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=T7F/zvXOPKa8aCq1Vyccb+zoCxdKW+wgomzNxicYjaE=; b=ZRxpJygO2nsfDcOvrFfTh0CmU LUy2RIDG5WTJeGDThu3ZxPwRbJh51yRbivvb+X7+of+KZgr/jJM+4w7hTYlLA/dd8YYJbdvL77WLU mAJ5rPnCPO6V8mhGurYFzdey8wmpfBpvVLX+9EFHHQpM1VaG714/gKkZiECKcUijLbBkGkxIwdItP bFRM7GLqa7KU19rTUaXz6TJ9SufNTvlC3O/sTFAKSc6v80cxcuAzZbcpjVYYAZGo5ZsQ6tJ2JWUP8 nJZcnxKsyCXpIMBsReBG+HAtmFzGcq8ZZAzmGFKXdqeevLcWksaQyS5K/YP8JhLXs3AQ/WRMu+F6e UIz3K0sMQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iShE0-0005po-6Z; Thu, 07 Nov 2019 12:49:20 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 70269300489; Thu, 7 Nov 2019 13:48:14 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F12422025EDA7; Thu, 7 Nov 2019 13:49:18 +0100 (CET) Date: Thu, 7 Nov 2019 13:49:18 +0100 From: Peter Zijlstra To: Thomas Gleixner Cc: Jan Stancek , LKML , ltp@lists.linux.it, Al Viro , Greg KH , Ingo Molnar Subject: Re: [PATCH] kernel: use ktime_get_real_ts64() to calculate acct.ac_btime Message-ID: <20191107124918.GH4131@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 07, 2019 at 09:56:12AM +0100, Thomas Gleixner wrote: > But it would be way simpler just to store the CLOCK_REALTIME start time > along with BOOT and MONOTONIC and just get rid of all these horrible > calculations which are bound to be wrong. > > Peter? So I'd really hate to do that, as that gives the impression REALTIME is a sane clock to use. As I argued in that other email, REALTIME is horrible crap.