Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1390378ybn; Wed, 25 Sep 2019 17:37:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeU+r823SEhwyLiOBjoEGchO3mfKSSU1hRMAfbS4EzxCfGbYv4WUxt177D0bcsr2WNbu2l X-Received: by 2002:a17:906:698c:: with SMTP id i12mr831352ejr.260.1569458251331; Wed, 25 Sep 2019 17:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569458251; cv=none; d=google.com; s=arc-20160816; b=oFaUYbN+iypL+TK795aIFHiH/U9PInC51uZtNC29dnO5lBYocxmmQDNAwwtHNFsbHx 2zZHawxTbKjv6vzXs63RRiSv+hHWpHs1UK7AaTdV6CyCHkbyYPJAlAsR/PhiwNs/2P8+ aeyHFrTzGrdpZekMzASeHxr+rWWEYehnjW7V5b1rv9j2SItwh5RrA9NTwO7WJtRbmqoj yXPnv2zoI5zGAs2m/zFh9FNXac92cIhSBHZHbA+9HY3nju9ai7b7iAMvj1PPgwv9ZRY/ WNz5JsJS4MI5filxwDlU6b4M1MHleorZZK5R79dfrfVvoHk7kOCIVTqZzHcRweYgYDii OEJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Bf+wyA7wgZNmQp4WeoT7qhlrr6KSlY3adYEpaKjcxk8=; b=yA938HOHSXsuxr932BCXuhkVPxBoPHmaBfQa4fBe5sf0Hse1sxzNUuDVVzbl6qqE4T pVAFouriHKO6zUTjLcom6sY5cVtAU6D1Au1MO4oZk/5ErXpNFhWhvk1qIPqkhMVb7za+ qQS246Zj1tAFlS4MmURJxklTxiSquhFCzr8JiQnVlpSqbN3u+BD6HojDEl2w1e1f7sHM t7xtr3AIJ54iEob1aPhV2IgP3cN8VDPZc9W7cazRsjvtqZz0/MhJB+OIN4Lcj/Hvbbgl XVaCrbM2X1LIjve5rkUc+i0YyZgCwK3lr51I9Jrrv3gW5kUwLSiUjMjdCukyvvybjitX rt4g== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i40si376488eda.225.2019.09.25.17.37.07; Wed, 25 Sep 2019 17:37:31 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503307AbfIWW1g (ORCPT + 99 others); Mon, 23 Sep 2019 18:27:36 -0400 Received: from mga11.intel.com ([192.55.52.93]:5127 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391372AbfIWW1g (ORCPT ); Mon, 23 Sep 2019 18:27:36 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Sep 2019 15:27:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,542,1559545200"; d="scan'208";a="188271691" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.41]) by fmsmga008.fm.intel.com with ESMTP; 23 Sep 2019 15:27:35 -0700 Date: Mon, 23 Sep 2019 15:27:34 -0700 From: Sean Christopherson To: Andrea Arcangeli Cc: Paolo Bonzini , Vitaly Kuznetsov , "Dr. David Alan Gilbert" , Marcelo Tosatti , Peter Xu , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/17] x86: spec_ctrl: fix SPEC_CTRL initialization after kexec Message-ID: <20190923222734.GP18195@linux.intel.com> References: <20190920212509.2578-1-aarcange@redhat.com> <20190920212509.2578-2-aarcange@redhat.com> <20190923153057.GA18195@linux.intel.com> <20190923173421.GA13551@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190923173421.GA13551@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 23, 2019 at 01:34:21PM -0400, Andrea Arcangeli wrote: > Per subject of the patch, 14 is also an optimization that while not a > strict requirement, is somewhat related to the monolithic conversion > because in fact it may naturally disappear if I rename the vmx/svm > functions directly. > > 15 16 17 don't have the monolithic tag in the subject of the patch and > they're obviously unrelated to the monolithic conversion, but when I > did the first research on this idea of dropping kvm.ko a couple of > months ago, things didn't really work well until I got rid of those > few last retpolines too. If felt as if the large retpoline regression > wasn't linear with the number of retpolines executed for each vmexit, > and that it was more linear with the percentage of vmexits that hit on > any number of retpolines. So while they're not part of the monolithic > conversion I assumed they're required to run any meaningful benchmark. > > I can drop 15 16 17 from further submits of course, after clarifying > benchmark should be only run on the v1 full set I posted earlier, or > they wouldn't be meaningful. I like the patches, I'd just prefer that they be sent in a separate series so they can churn independently.