Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4324486ybb; Tue, 7 Apr 2020 05:22:19 -0700 (PDT) X-Google-Smtp-Source: APiQypIatIFByLpldk3/6Vk0ISiUFsLXIYo3XX4VZgyRUlu5j3FYz31UeJSe15D5GH+s4V0A0gVu X-Received: by 2002:aca:bc0b:: with SMTP id m11mr1489004oif.62.1586262139114; Tue, 07 Apr 2020 05:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586262139; cv=none; d=google.com; s=arc-20160816; b=oDGGhf5VuBLhJ1iMMLErw7+L1CoVxpMbaCgOnxhWLsf+WxcUsYRwNoxL+emuoUvRsg rRQ0fv7Sy8aY60P1f9JMZee36+Tk2w9hLZpRPVP6czRpmtaJZsItV8Hn+73xRkkIBR83 4QphWxFkTEOR8mNzmlkWCnzBHMNwp+v832SjMLE5W15+rHPjhblOks1bgaJt1AW1hFM9 EkQmDrvz28cwj+kSabLuGns/FV7Vp9D81pW+3qJGKZEVuj/22wlDmgWrM38fezH9yHrY K93tyGKMg9Qa+EaOcO26G1cI4Pj3CBSwaX4ZdLXSAf6c749rBJGKSyeMgcvWxyIMxYn4 OixA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=pk/wTIvk5X/DA8IhsCZhc7nIIHKp7L4drvl4ax6UlCI=; b=osAlFgguUpE8ErZvHbCh+NfC24KhCQvXQl0CZgbYaLlH+3jAkfSiU3WTcKmeQbOw7q bPmvF+jaUMxnDsNQT9jrq/11x1z2wSxbnTMy09GJrhj/cwAqRbOKGTX4MQBJ++BfySkW /GrZoqYXeBB12XezyuDaOcXiMzyzEEVFjTWhMNGezyZIVohYHQVjbHnhQxZKwA11nt0n KyVrXUMsWlD5qVPFBO0yXZo8JQOxrIoJzftj4YR+0HmIWx5EpXrEKfAtv2Dw6Oa5bnB+ ndzj9lJ8hYJEBEavZss/TB8FgGEghNAUtQkcBAZ588J1m3EkFW68n8sZW680VH7lrUJN +3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="nUq0d8G/"; 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 26si592933oiz.107.2020.04.07.05.22.06; Tue, 07 Apr 2020 05:22:19 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="nUq0d8G/"; 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 S1728643AbgDGMVZ (ORCPT + 99 others); Tue, 7 Apr 2020 08:21:25 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41722 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728146AbgDGMVY (ORCPT ); Tue, 7 Apr 2020 08:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pk/wTIvk5X/DA8IhsCZhc7nIIHKp7L4drvl4ax6UlCI=; b=nUq0d8G/UTbLmHOUMtDRZHG7G8 lmfBuv9l9XDCrfNeMMPzDX5LeWc4XlPOWSw1F8VqaQEA1X0o144IoW7upqJ/eCaqPpbMEDGNii59x mFJeYjXuyLzmBhZWTwSMuGThBX3edd89GQ21+Jb7PRs1RrG2CiMidbHYHH+oA9mi/uNegd4hQO4ck KU55v8J5n87l5CDbwymwwze/U3jxcOEcyCroM5B7korTt5WbAYaacEOI6+l7slJXtxni7yQCT2dBg L689SisLfiL8duhwNUHapm1s2FwQQVU4x68zHLGo/JeCNO3OEaAPUpIBmkXxpigDVhqlLzVizZNwN WCbZJkng==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jLnE2-0003qM-R2; Tue, 07 Apr 2020 12:21:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 56F893010C8; Tue, 7 Apr 2020 14:21:03 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3E48B2B907A89; Tue, 7 Apr 2020 14:21:03 +0200 (CEST) Date: Tue, 7 Apr 2020 14:21:03 +0200 From: Peter Zijlstra To: Keno Fischer Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Borislav Petkov , Dave Hansen , Andi Kleen , Kyle Huey , Robert O'Callahan Subject: Re: [RFC PATCH v2] x86/arch_prctl: Add ARCH_SET_XCR0 to set XCR0 per-thread Message-ID: <20200407122103.GU20730@hirez.programming.kicks-ass.net> References: <20200407011259.GA72735@juliacomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200407011259.GA72735@juliacomputing.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 06, 2020 at 09:12:59PM -0400, Keno Fischer wrote: > This is a follow-up to my from two-years ago [1]. I've been using > rebased versions of that patch locally for my needs, but I've had > more people ask me about this patch recently, so I figured, I'd > have another go at this. Even if this doesn't make it into mainline, > I figure I can at least improve the quality of the patch for others > who want to use it. That's said, here's how this version is > different from v1: Aside of having an inconsistent comment style and whitespace damage, it adds exports without a module user. But my main reason for replying is asking: 'What the heck for?' You had a fairly long changelog detailing what the patchd does; but I've failed to find a single word on _WHY_ we want to do any of that.