Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp752488imm; Fri, 14 Sep 2018 05:57:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaYec/g268DCNglRaIZXQrwwInE3RTRBRUCORJEgZs053l3bQkvZYw87mTcZaZMhFgr28pi X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr12131242plo.4.1536929841211; Fri, 14 Sep 2018 05:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536929841; cv=none; d=google.com; s=arc-20160816; b=mvwZzQaXcC0jUoCNvutFjaoBICQ0KwaPQpze4Q/ZmheHi+EQ+1hk9n6MV5GL0Xeo/d vOdr/fceNz+2rlTdgeaBGI41GOMEm3m7PSGsOg5aWZ3+7xcfFfILbvidHQgNvt44r2ne xR75Qta7/WiX9rSqcoEd3VAQcorivkJTADJSv54j4GNh5rFlf7Kww16FCyD2XNa/kBat SSC5jpCXd5XLHLg5wP1FlktIvT3IsLfDfju9mv3XZFWG2QYotLM0prajzHseJDPUWtBh ZqTy7s3zRFpYhIC9FHHQUGPR8qjlSnGg4t/OLd2ZITnFj4P0wnwxFjjGzjTt6GUbVD5W lYxQ== 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=GOuX3di+XkB5jR7vASnNBZRCSx3zxsDeEFLKNb50vyI=; b=BbjLyxbu619auEwWBHPrQFiRPTHAiUFseV494IIRTWHda0eJz7jAHoK9Fb4cCsnMrq UVBMkVB3VXheyNh4CyrI0TqnRnc5u6Q3Z/YerM+CZMvw3KV0wdI+fp3w3vU3gya1sfVS tAoMrGjOa5qq0I2RinqUtDeX+yjdsTPE6Iu8iiU3n1Db+DxqqnmAkvmztEYQfQyUjZC5 zlwfFVjWZgJxHWhOUjg7VzpuY9JMpj1r67pTB5MlKS2S7TK9KGfVItsc1fprPGN8SeQv ro0XoOrlnbENVIAp/zZwnsHTx6b/OCv0e/pnpqpGWKKxYFcnUXfwb5qwXHuKpAP/4zh+ YPjQ== 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 y20-v6si6678259plr.110.2018.09.14.05.57.05; Fri, 14 Sep 2018 05:57:21 -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 S1728158AbeINSLN (ORCPT + 99 others); Fri, 14 Sep 2018 14:11:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41860 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbeINSLN (ORCPT ); Fri, 14 Sep 2018 14:11:13 -0400 Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65A443091764; Fri, 14 Sep 2018 12:56:51 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-116-110.ams2.redhat.com [10.36.116.110]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F52FB9AA3; Fri, 14 Sep 2018 12:56:48 +0000 (UTC) Subject: Re: [patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support To: Thomas Gleixner , LKML Cc: Andy Lutomirski , x86@kernel.org, Peter Zijlstra , Matt Rickard , Stephen Boyd , John Stultz , "K. Y. Srinivasan" , Vitaly Kuznetsov , devel@linuxdriverproject.org, virtualization@lists.linux-foundation.org, Paolo Bonzini , Arnd Bergmann , Juergen Gross References: <20180914125006.349747096@linutronix.de> From: Florian Weimer Message-ID: <2f723b28-8f81-4b02-861c-42f756a8825a@redhat.com> Date: Fri, 14 Sep 2018 14:56:46 +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: <20180914125006.349747096@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Fri, 14 Sep 2018 12:56:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/14/2018 02:50 PM, Thomas Gleixner wrote: > Matt attempted to add CLOCK_TAI support to the VDSO clock_gettime() > implementation, which extended the clockid switch case and added yet > another slightly different copy of the same code. > > Especially the extended switch case is problematic as the compiler tends to > generate a jump table which then requires to use retpolines. Does vDSO code really have to use retpolines? It's in userspace, after all. Thanks, Florian