Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3208494imu; Mon, 19 Nov 2018 12:20:13 -0800 (PST) X-Google-Smtp-Source: AJdET5d8RRJ2Xy8ZORkc1BhVkgAegalQytB9ZZ4zC0sTitA6/swzu6kxO/E2iLuDbqJhbXjShES5 X-Received: by 2002:a62:509b:: with SMTP id g27mr24606738pfj.48.1542658813690; Mon, 19 Nov 2018 12:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542658813; cv=none; d=google.com; s=arc-20160816; b=o7w2Tb1E8S5BUjv742p8DnIzaE8x8vxzxruhIpyLCkyYzxj8X3D5Bdkva7hKh3ADR9 PoKQFHHkZ/qUXxwIz/nAxgD4pUHsgnFaL5CKnNWwuRtjPnvj1vh6M7APby2WN6dYYDBl z3ufPV/GROb1+45DpdsC1WDqP2mtgxqo7OOoY+9k3397msoyo6c37q0rUPRRRoFR2GpC YS6B3kjbCnyXzZKPFJE+dtfJ8TV74IaddkiLSboPELvcEi1q0wpdr0LLz8VLQ0DJbVT4 CNfoZEJajMPzwV9lqjqdC+UaIxAYp1hNrwp8fvBup9KKLbgDbVMTI347xiBuk64avllt CISQ== 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=BKEg6eByNdG5nrr+a2pN6mqGHfLPA0pXA9dmktfzQ4c=; b=HSoqzPQKdfNkoiiBMES8Mhn9qWanRSjvBhnGrevTP9+b3Or67EwA7RucHYf2wUFiv4 hVi59f1WaUGjeaG6HjTf9xmeNRKVUhIoaRm9pCTu1fzajfk5eCGTV/K/AIWtoORBNGng DRfvrUCARBs7BqkRH5vkt6LkhykuMikSEd9+lNHfDSEs5r5AuBwupUik5BDyuH6V4NlY vaIHQVul6OMAQvo135RzPkdUafb5oP2kh45IGxwNx3GQSPuLDzvEsoLgxFnPED1YzWIH DymRQ1fv7yk2Ey7m+W5ANijrlGIqs/GJ8wGu1JO7IzZWcKoESgDYdvWR2ww3a76MZ+WS f+Gg== 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 f38si39449105pgf.206.2018.11.19.12.19.57; Mon, 19 Nov 2018 12:20:13 -0800 (PST) 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 S1730669AbeKTGnG (ORCPT + 99 others); Tue, 20 Nov 2018 01:43:06 -0500 Received: from terminus.zytor.com ([198.137.202.136]:44635 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728844AbeKTGnG (ORCPT ); Tue, 20 Nov 2018 01:43:06 -0500 Received: from carbon-x1.hos.anvin.org (c-24-5-245-234.hsd1.ca.comcast.net [24.5.245.234] (may be forged)) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id wAJKHeVa2706260 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 19 Nov 2018 12:17:40 -0800 Subject: Re: [PATCH] x86/TSC: Use RDTSCP To: Andy Lutomirski , Borislav Petkov Cc: X86 ML , LKML , John Stultz , Tom Lendacky References: <20181119184556.11479-1-bp@alien8.de> From: "H. Peter Anvin" Message-ID: Date: Mon, 19 Nov 2018 12:17:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/19/18 11:52 AM, Andy Lutomirski wrote: > > I thought I benchmarked this on Intel at some point and found the > LFENCE;RDTSC variant to be slightly faster. But I believe you, so: > > Acked-by: Andy Lutomirski > As long as the difference isn't significant, the simplicity would seem to be a win. -hpa