Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5528282imm; Wed, 12 Sep 2018 07:19:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYZHZhjJfTiyIqyzfFMqNKA9IJuKiT3hNXMz83v8MkwiPNdZjJpwTZPscXHe2pVWqzYBV1R X-Received: by 2002:a62:d713:: with SMTP id b19-v6mr2670979pfh.88.1536761944987; Wed, 12 Sep 2018 07:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536761944; cv=none; d=google.com; s=arc-20160816; b=Dlzryazk0yFNlrPOTmipkivE0LUMi9TdkHou0qHGEzbRKOCjNjUbOI95ckmzXyVqlY Nv51tLg3NLFmsE6tCVzXVgAgQZxvrdVp+CbxPNmJ9WOMiz8Grwh4jBXPMnK9YCEdd2Up kNYAUqbe291tkNRGZXnHgS1V2A17gW3dFrhVXAqs5L5h1MAeiUbu9yWJtwH+5Yxh3KOR isbwtcOBrnbFXJ+4sJxDyuWDtXsRpgepAIPWgH9QiokQZQ/ClpsR56jvtmntPbtcZWFe FjR/Va1HnfDAnDMBAmnxaK1pWbKF2lD+12Fs2qsvAMg3fej8ur0FHWvCsTei0C1bARKd 6bRw== 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; bh=bQdEzmF/xtHHhHblIYzjfpSEa8qMmVichkAgAZVUov8=; b=xIp40H42D9kY/80jWUIL8u7aBaOWzUnmQTHMNXcNIfO99TmbwcJdBfppSBwV7L4le0 udVGbD3Fp6tJ507uQ6KRpGD43O2QAebdvqkzi/camNO0Hx/p39sYmHnjay3ypluC8nka mb6CNugAvRlXjRYtB3BAIXPHKCik743wtvXV6X3jWoMF3Ezya8Z1556nhde5lUNvyuz8 dqsgf00ST0k7BX7YIbxLPaYV4h6GES85DlCJ9PpK0ZaaaRs4l4CKpCfJ4PXCModjEfeY SKQ24groeVJ0H8Ia5qRSzaz1Tkz3G/cNOfXsyxWfFeOasuh8tqGZEkxsdszZaglmRDA8 87MA== 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 p11-v6si1274523pgh.274.2018.09.12.07.18.45; Wed, 12 Sep 2018 07:19:04 -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 S1726945AbeILTXN (ORCPT + 99 others); Wed, 12 Sep 2018 15:23:13 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:43983 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeILTXN (ORCPT ); Wed, 12 Sep 2018 15:23:13 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g05xO-0001pR-W6; Wed, 12 Sep 2018 16:17:27 +0200 Date: Wed, 12 Sep 2018 16:17:26 +0200 (CEST) From: Thomas Gleixner To: Florian Weimer cc: Andy Lutomirski , Matt Rickard , Stephen Boyd , John Stultz , X86 ML , LKML Subject: Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO In-Reply-To: Message-ID: References: <20180901015935.CCF0B18E20A9@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Sep 2018, Florian Weimer wrote: > On 09/09/2018 10:05 PM, Thomas Gleixner wrote: > > See the patch below. It's integrating TAI without slowing down everything > > and it definitely does not result in indirect calls. > > > > On a HSW it slows down clock_gettime() by ~0.5ns. On a SKL I get a speedup > > by ~0.5ns. On a AMD Epyc server it's 1.2ns speedup. So it somehow depends > > on the uarch and I also observed compiler version dependend variations. > > Does this mean glibc can keep using a single vDSO entrypoint, the one we > have today? We have no intention to change that. But we surely could provide separate entry points as an extra to avoid a bunch of conditionals. Thanks, tglx