Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1462715ybk; Sun, 10 May 2020 17:55:58 -0700 (PDT) X-Google-Smtp-Source: APiQypKwNDTBiv8kK/KMayCfmGmFBF831qykPJumB4HQJ3i1Cnkm8ecfdrvVrAewM4Uq/3yBNddM X-Received: by 2002:a50:f288:: with SMTP id f8mr11551941edm.337.1589158558760; Sun, 10 May 2020 17:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589158558; cv=none; d=google.com; s=arc-20160816; b=j/SQEIN/A4/CfeTGsJtm0IZKUsFzjJQouc+vea/B5c8mYzUb7Zfh3COdTf5nHXcH81 pSnOPyO2WRZ750jjiHiBdK7IABh0x/mGfh60jiH2G1zJinQpn97IAd4YocVI6fHYhtJL ahOxYcs5z4HEz2Rte5Faa/pFcbO6cuRBzT4l2QHbnOf0DUsIAWHuOAXu/VC964a5X+nT xZtQL0055fCdYYQkfuKlHaYpCy1z+NLo2WHVvWZlfsU+VdevQyrEPZK0HybmVGbhfB3h ujjhXnA1W/qSfvGJT7eQzwfi3dUGRNgU5w1KrXW2G4xvSXPWDGfgF3MroZzmjUS/5wYV YCKA== 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 :ironport-sdr:ironport-sdr; bh=aUYvyyIp76N6rHdTZ3e87ZM8hKvlu7B2pEhv2FrUP3g=; b=ROFgkuKZWZaTG+nal7b3kRiRpncUkcmsiwYYMQbbBGxKe0RgXroQwWYLZ8msW/9R5l PYxkdDWySj/JhutafN4Sff5QaN1Mabl8ja4pb7yE8X9hG0ROq6TlePDGyApjKn0FlcdH KhzZUpt9PZDdb1ogJSiX4zYVyln8mZH0X72EBBxH4tHvrtotGcHzHTUFLIvJnEvHk7ae 8/5Joy/dQ6vLG2O6pOW18sG3+bR0i0lIJC4Grz8afD8zxofAVEoq1A8z4TLxZbt4eWoD DcZ8aICIP0ppARj7KVteNlur+LJf1c4qtVaENRbQZI8IlTL9EXn5FtB6XQe6d7vTAT+r 0IYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si5119269eju.117.2020.05.10.17.55.32; Sun, 10 May 2020 17:55:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729393AbgEKAxV (ORCPT + 99 others); Sun, 10 May 2020 20:53:21 -0400 Received: from mga04.intel.com ([192.55.52.120]:23446 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729095AbgEKAxV (ORCPT ); Sun, 10 May 2020 20:53:21 -0400 IronPort-SDR: Dj545cRnwzBSmwdITV302YH53sLE9FM/JidYnU3p7v8/jzlT6G6xOjLo23/YAy6Xd390xh6TD2 cjrgtvhe5gEw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 17:53:20 -0700 IronPort-SDR: se7MRSAVgNLL7hgEf7NM19nsmWKHtosJ8Mz7fpmHQYheZCJwydqCvehiSoJb1IzvwtJLBhtaG+ C3mdTM3Q/KPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,377,1583222400"; d="scan'208";a="371058384" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga001.fm.intel.com with ESMTP; 10 May 2020 17:53:20 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 8DBE4301C52; Sun, 10 May 2020 17:53:19 -0700 (PDT) Date: Sun, 10 May 2020 17:53:19 -0700 From: Andi Kleen To: Sasha Levin Cc: Dave Hansen , linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@alien8.de, luto@kernel.org, hpa@zytor.com, tony.luck@intel.com, ravi.v.shankar@intel.com, chang.seok.bae@intel.com Subject: Re: [PATCH v11 00/18] Enable FSGSBASE instructions Message-ID: <20200511005319.GK3538@tassilo.jf.intel.com> References: <20200509173655.13977-1-sashal@kernel.org> <20200510141625.GL13035@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200510141625.GL13035@sasha-vm> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > My interest in this is that we have a few workloads that value the > ability to access FS/GS base directly and show nice performance Can you please share some rough numbers, Sasha? I would expect everything that does a lot of context switches to benefit automatically, apart from the new free register (which requires enabling, but also has great potential) Also of course NMIs will be faster, so perf will have somewhat lower overhead when profiling. -Andi