Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp734816imm; Fri, 31 Aug 2018 11:46:58 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdas7pgjiMfT7N98XPDzNktzVpesQAA6afYnYBxPJFo+UCoMW3iL7wr8kaBcXM8o4cw2EuaR X-Received: by 2002:a17:902:33c2:: with SMTP id b60-v6mr16578394plc.11.1535741218569; Fri, 31 Aug 2018 11:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535741218; cv=none; d=google.com; s=arc-20160816; b=b7LdLo5JQmEieJ9rZrSM6ciN2v8enmrmSglvRBSBLav7vNDynBQC0KZ35KMdADTE0I h1BUm4ncwz+UExAcpqfb976xCyQstC6VSjgoOq9CTf0BVh+U5TOKk9e2S+DfJXdvGj65 mV0WKjFXoRWa0fJg62/meOTsOuOLUSu6yAUlqNnWPPPZDH1bSKEajEN7UGPTCrmZqVMn u9O/QeO+8Vwq7EF2VHRunD8TbSOBTL0CITy8nAPoZw6KvHvCCqDD+SOYudgjYviuk94R yUDHIH6xypooHKNxHs9TFTcVPGaED5MeA0cpIVCm2KUK/zmZBf5QAsIy9Y+2n6USgiIe MBug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=8zZn06K2twglnDD+gtLBmKT10YjfXHT2iQhnwMA23e4=; b=CTBIH54Sew693vjMPCkshhTe+vxuLefvWBh3n0E6PdbAVsqRIAeNJpYDQoM89rZ5A8 dFkihrAQ1VFR3rCFUNyEtgLBXBCPVUL2z6yJJy88SdrgU++rVDHpyg7ZqAjjMVYzOjgO nYBogNxyVhh+1kFSHw36K3811EOpnY1vMqz5gUSn5tN9H8JY85sdRWUwLVNX305xRP9/ KMUZM4bjyHnlokb8HHZsghV5bKBMBNWpELlEkUf/li7Sven1WeaLsc3MghaOwj0Rbrf4 6v+fjhqws9Nb4tebsD7psIfT5dHxZS36iKVNjmI+srcPruuCadqcsYOiMNnidqPFxVqi lojQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m33-v6si9705516pgb.450.2018.08.31.11.46.43; Fri, 31 Aug 2018 11:46:58 -0700 (PDT) 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; 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 S1727298AbeHaWyX (ORCPT + 99 others); Fri, 31 Aug 2018 18:54:23 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:53142 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726915AbeHaWyX (ORCPT ); Fri, 31 Aug 2018 18:54:23 -0400 Received: from p4fea45ac.dip0.t-ipconnect.de ([79.234.69.172] helo=[192.168.0.145]) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fvoQF-0002hL-SE; Fri, 31 Aug 2018 20:45:32 +0200 Date: Fri, 31 Aug 2018 20:45:31 +0200 (CEST) From: Thomas Gleixner To: Matthew Rickard cc: Andy Lutomirski , Stephen Boyd , John Stultz , X86 ML , LKML Subject: Re: [RESEND PATCH] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO In-Reply-To: Message-ID: References: <20180817121251.4EB5318E01A1@virtux64.softrans.com.au> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Aug 2018, Matthew Rickard wrote: > Here are the before and after times with CONFIG_RETPOLINE=y always on. > I don't see any regression, just the hoped-for improvement on glibc and > vDSO calls of CLOCK_TAI. > > Before: > sec Timestamp nanos clockname tzname type > ---------- --------------------------- ----- --------- --------- ------- > 1535445844 2018/08/28 08:44:04.338599419 96 CLOCK_REALTIME UTC 0 glibc > 1535445844 2018/08/28 08:44:04.348494684 87 CLOCK_REALTIME UTC 1 vdso > 1535445844 2018/08/28 08:44:04.357328913 321 CLOCK_REALTIME UTC 2 sys > 1535445834 2018/08/28 08:43:27.507099055 233 CLOCK_TAI right/UTC 0 glibc > 1535445834 2018/08/28 08:43:27.530666383 239 CLOCK_TAI right/UTC 1 vdso > 1535445834 2018/08/28 08:43:27.554827262 389 CLOCK_TAI right/UTC 2 sys > 80 1970/01/01 00:01:20.593942210 88 CLOCK_MONOTONIC UTC 0 glibc > 80 1970/01/01 00:01:20.602866312 84 CLOCK_MONOTONIC UTC 1 vdso > 80 1970/01/01 00:01:20.611322392 272 CLOCK_MONOTONIC UTC 2 sys > 80 1970/01/01 00:01:20.638630685 298 CLOCK_BOOTTIME UTC 0 glibc > 80 1970/01/01 00:01:20.668487920 293 CLOCK_BOOTTIME UTC 1 vdso > 80 1970/01/01 00:01:20.697818847 279 CLOCK_BOOTTIME UTC 2 sys > > After yours and my patches: > sec Timestamp nanos clockname tzname type > ---------- --------------------------- ----- --------- --------- ------- > 1535466985 2018/08/28 14:36:25.483377529 93 CLOCK_REALTIME UTC 0 glibc > 1535466985 2018/08/28 14:36:25.493020681 89 CLOCK_REALTIME UTC 1 vdso > 1535466985 2018/08/28 14:36:25.502139080 282 CLOCK_REALTIME UTC 2 sys > 1535466975 2018/08/28 14:35:48.530621935 87 CLOCK_TAI right/UTC 0 glibc > 1535466975 2018/08/28 14:35:48.539393751 81 CLOCK_TAI right/UTC 1 vdso > 1535466975 2018/08/28 14:35:48.547693183 276 CLOCK_TAI right/UTC 2 sys > 224 1970/01/01 00:03:44.575542852 87 CLOCK_MONOTONIC UTC 0 glibc > 224 1970/01/01 00:03:44.584329822 81 CLOCK_MONOTONIC UTC 1 vdso > 224 1970/01/01 00:03:44.592473982 269 CLOCK_MONOTONIC UTC 2 sys > 224 1970/01/01 00:03:44.619450784 296 CLOCK_BOOTTIME UTC 0 glibc > 224 1970/01/01 00:03:44.649224430 312 CLOCK_BOOTTIME UTC 1 vdso > 224 1970/01/01 00:03:44.680600544 297 CLOCK_BOOTTIME UTC 2 sys Can you please send a V3 with that information (condensed) in the changelog? Thanks, tglx