Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5429364imm; Wed, 12 Sep 2018 06:02:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYxGEWWHX2TT+niFp3Xb6f0QSPdTkzsV/oDdQCDf3Inf8QdeM4sMhOpWJ2pSMgkRR8Yv9YW X-Received: by 2002:a17:902:708a:: with SMTP id z10-v6mr2158321plk.229.1536757368194; Wed, 12 Sep 2018 06:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536757368; cv=none; d=google.com; s=arc-20160816; b=frCaZUtB3/6T/tR2ANgiSRf06vC3aJDH9zbfdPJkxi332VDqsOJHgHD0YIHrr3Gsp+ lQSAfKku2MZqF604UBFE/R/pdw+0MClMux+fcE9OKzHeouiE7qozKOZUThCD6ZnyJuTp ajbyTBT5XKwxjei4OWvl963Kye87xlurOHtgNLD9tF/97HoN3+OfNz6I3JM+RpUx9BDb Lk+qeSBULy/2g1DgDebYGVIiFsHo/dIu0gjZG95sRlQWvK5dlQnhF/bzwlOMWq5bgPcf 1WwGj3A0vLMknbSFadaZh/YD/LeGBEzSQt80ukHfCsl23rHVYiWCtFm5sLWx9ENcYJVH KafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=c5iBmcbSuvgLgLuIF47OPDqgSJHcg5Owign/fQo0efQ=; b=IcXslVRXurig0ttjMgffZmjOwiQvsQ37qPK+ohXRFi3e1urcECrXEjWrPCax0InZZb dzRoMyeuxUR3xrqP8IyHFBPXZ68J110RX98wOH/M46Sm+ZJ8Ctvx1VJ1X30+Gsw3XJRd zUTl3k1rD16G/K5jsOT7LD0luF++wBnXMjLrU8Mhs6vvXXNjiJhuWqRFyRBwYl2uRKbI i0Z0k0HSCI0l0fF9PNdJhCHw9GIntZRtXGQWeMNlACEyKyXRXHDeIkSKLGuEIf+Qak/4 RocnjgIBmmZ/st5P4T/6BmCRPEA9+A34d9PZCcsh4cU2JmJ6H4Wk71L29+ykE4dcrKra KJTg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t127-v6si969657pfc.118.2018.09.12.06.02.30; Wed, 12 Sep 2018 06:02:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726992AbeILSGL (ORCPT + 99 others); Wed, 12 Sep 2018 14:06:11 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:55002 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726491AbeILSGK (ORCPT ); Wed, 12 Sep 2018 14:06:10 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AA61740216FE; Wed, 12 Sep 2018 13:01:45 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3C4532166BA3; Wed, 12 Sep 2018 13:01:44 +0000 (UTC) Subject: Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO To: Thomas Gleixner , Andy Lutomirski Cc: Matt Rickard , Stephen Boyd , John Stultz , X86 ML , LKML References: <20180901015935.CCF0B18E20A9@virtux64.softrans.com.au> From: Florian Weimer Message-ID: Date: Wed, 12 Sep 2018 15:01:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 12 Sep 2018 13:01:45 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 12 Sep 2018 13:01:45 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'fweimer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, Florian