Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp766470imm; Fri, 14 Sep 2018 06:07:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZszft9I+pDFO4QbQBX1t9XxBzOGGMEyYYqKUkoFcHOHDrpTn+FkFCl9pv9ouAdDocYI84q X-Received: by 2002:a63:3e8b:: with SMTP id l133-v6mr11552606pga.355.1536930459584; Fri, 14 Sep 2018 06:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536930459; cv=none; d=google.com; s=arc-20160816; b=inwFIO/GTmjaeLBENGrw2qZhhjITcix/cY88uKxlGN6TA4XD3PqWRiFed/WILTOp50 r1cSORYWaYs3ELoCru+T248tR23UROz9wYh1rumnF+DgQVoMZZ9X3hESbPQqpvQ0gfn+ 6cXYMFXSwxf/joy7CfbNy0DsOkTkM7lXsPljgKtH3aWshf1U7YW1UMtoadLnXhaZvFZl UsT4EpdL08+F5gEALpFNhcMSzi6AxAKd4tdBCOhPXdpDsD8BxJI9py6uPTqJZh9L851y nLuubzpruW0LADus+Ru9dvf1OMF6+JbyBHMd6/YcM3jMZdFxh/SncLawtvgQJW5vqpQs cK2w== 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=Eqjv+xESfQZYiBwkK5v2zVE02nMmsjFCm28geRewD9k=; b=ZhY/sHgrDk32k/eax5s5FucIJjrTxvPpOMsM/Bap77J0cjsjGFScmxDzDJkJitMiIA sqAfOLJjtqS3MkRYpDyaTOfDWYsUceeUtvvF0jxc3t7Vg8ALS0+VqoKtAjKavyNWf1Fw Fbnxo5YmzUlZo4/RXE58MRQh9JA8uuHw14Yx0nMA8Sv1MZ4BcBDMYny+sZPgeRolqHqc BWQNhn1PTvL8xm7eFludtF8dNP+BLj3zHb8z9D9gkIOfLBgRNuIJ453XjEPvY4MR4YLo AqqFc2O21VBo6GxciWz4ixYQPNncPfbyeafIegE3TVF5xlC77qqlsMFk2sXP5jvYrCmM x6cQ== 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 e14-v6si7041516pgg.345.2018.09.14.06.07.22; Fri, 14 Sep 2018 06:07:39 -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 S1728215AbeINSTv (ORCPT + 99 others); Fri, 14 Sep 2018 14:19:51 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:49755 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeINSTv (ORCPT ); Fri, 14 Sep 2018 14:19:51 -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 1g0nmm-0006HI-G9; Fri, 14 Sep 2018 15:05:24 +0200 Date: Fri, 14 Sep 2018 15:05:23 +0200 (CEST) From: Thomas Gleixner To: Florian Weimer cc: LKML , 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 Subject: Re: [patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support In-Reply-To: <2f723b28-8f81-4b02-861c-42f756a8825a@redhat.com> Message-ID: References: <20180914125006.349747096@linutronix.de> <2f723b28-8f81-4b02-861c-42f756a8825a@redhat.com> 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 Fri, 14 Sep 2018, Florian Weimer wrote: > 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. Unless you have IBRS/STIPB enabled, you need user space ratpoutine as well. Thanks, tglx