Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1032550ybn; Wed, 2 Oct 2019 09:50:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5ta6ex25fDHdJ6EH9Ig7QghHs/Ljdj12yne3xZFv63Zt+uNHfXU6mRlMBJdIGLNJ0xYDl X-Received: by 2002:a17:906:1f89:: with SMTP id t9mr3818719ejr.241.1570035009694; Wed, 02 Oct 2019 09:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570035009; cv=none; d=google.com; s=arc-20160816; b=zFLmyKTMfmzaUcksnOKC+e0M2fSas88CZEeyOGvYvPhb63vs1LvqPmFsrBJ67AXrO9 10MaYrs598+3VZg5GdyXRg3e9F0vj35052g4NOvFjM0vG+FDV0cJdpkegexYaxZeAX1u exxU9qF3sW8J0Q3YpSSnbaIDWvIOLib8fQMuf4HJLRpIKTad1hD9sntt9Gr77x7Y7Tkt 1ut6lvrUjsYq5osw8ubNnXBpGPUEjLloKiVeTL/q7xTL9kEZAIz822MsdL+41ndzGs5K F7jIgu8A9GepRjhHsO6lId3aPBGXEQbUIxGkkyy33GS/9QVc16nzw1b6Cds8EDIpGPN6 JzGA== 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=7mxzRnJlzT1LrpePGS259JGj8xwoyHLuE7xKIhTc+oA=; b=Q23VbAcO27qiYrP+SdfElOzBAHo4AxQlXHaqXZf0CeBvrlcK60rQp4og4wJAtdRxb+ o/geuMgLmMsxDEMpEZjCHJ1L8Wm+JbDiabTlUUDbxHkOErovETJtpB1OTcnQb+jfJgNz K+Ci4KeTifeqeGFA+EtQGnt6jPgCrlGChOTCm8kCqdI2OCvOQzPej7CHBY8OswGgX/l1 B5Ze9W+U9lE8iBtcvE1bS5zzDX7kdnl3GUQ2fE2xsal8I2cpHhLF37SKYOIXkp+RWIiV s6kH9CPH+8JRxTdIhx8pa2Y1wZUZCQg64+HLUdph8Zx5I4bT89cO1vDBK+eKi8ZnBy/I K4+A== 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 h17si12577819edb.89.2019.10.02.09.49.45; Wed, 02 Oct 2019 09:50:09 -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 S1727835AbfJBQrd (ORCPT + 99 others); Wed, 2 Oct 2019 12:47:33 -0400 Received: from mga06.intel.com ([134.134.136.31]:60016 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbfJBQrc (ORCPT ); Wed, 2 Oct 2019 12:47:32 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Oct 2019 09:47:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,249,1566889200"; d="scan'208";a="203652629" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.41]) by orsmga002.jf.intel.com with ESMTP; 02 Oct 2019 09:47:30 -0700 Date: Wed, 2 Oct 2019 09:47:30 -0700 From: Sean Christopherson To: Zhenzhong Duan Cc: Vitaly Kuznetsov , linux-kernel@vger.kernel.org, Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Paolo Bonzini , Radim Krcmar , Wanpeng Li , Jim Mattson , Joerg Roedel , Peter Zijlstra , Will Deacon Subject: Re: [PATCH 1/3] KVM: X86: Add "nopvspin" parameter to disable PV spinlocks Message-ID: <20191002164730.GA9615@linux.intel.com> References: <1569759666-26904-1-git-send-email-zhenzhong.duan@oracle.com> <1569759666-26904-2-git-send-email-zhenzhong.duan@oracle.com> <87pnjh3i6i.fsf@vitty.brq.redhat.com> <87eezw3lna.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Oct 01, 2019 at 05:47:00PM +0800, Zhenzhong Duan wrote: > > On 2019/10/1 16:39, Vitaly Kuznetsov wrote: > >Zhenzhong Duan writes: > > > >>On 2019/9/30 23:41, Vitaly Kuznetsov wrote: > >>>Zhenzhong Duan writes: > >>> > >>>>There are cases where a guest tries to switch spinlocks to bare metal > >>>>behavior (e.g. by setting "xen_nopvspin" on XEN platform and > >>>>"hv_nopvspin" on HYPER_V). > >>>> > >>>>That feature is missed on KVM, add a new parameter "nopvspin" to disable > >>>>PV spinlocks for KVM guest. > >>>> > >>>>This new parameter is also intended to replace "xen_nopvspin" and > >>>>"hv_nopvspin" in the future. > >>>Any reason to not do it right now? We will probably need to have compat > >>>code to support xen_nopvspin/hv_nopvspin too but emit a 'is deprecated' > >>>warning. > >>Sorry the description isn't clear, I'll fix it. > >> > >>I did the compat work in the other two patches. > >>[PATCH 2/3] xen: Mark "xen_nopvspin" parameter obsolete and map it to "nopvspin" > >>[PATCH 3/3] x86/hyperv: Mark "hv_nopvspin" parameter obsolete and map it to "nopvspin" > >> > >For some reason I got CCed only on the first one and moreover, > > The three patches have different maintainers/reviewers by get_maintainer.pl, I added > "Cc: maintainers/reviewers" to each patch then git-sendemail picked them automaticly. > I meaned to not disturb maintainers with the field they aren't in charge of. It looks > I'm wrong. > > So what's the correct way dealing with this? Should I send the whole patchset to all > the maintainers/reviewers related to all the patches? There's no one right answer to that question, folks have different preferences. My general rule of thumb is to cc everyone on all patches unless the series is obnoxiously large *and* isolated to a specific part of the kernel. The idea being that people are more likely to be annoyed if they can't find all patches in a relatively small series (this case) than they are about receiving a mail or two that they don't care about. At a minimum I would cc everyone involved on the cover letter, and cc the relevant mailing lists on all patches. Sending everyone the cover letter provides people a quick overview of the patches they didn't receive, as well as a starting point if they want to find those patches. Cc'ing the mailing list(s) can make it even easier to find the patches. The cover letter is also a good place to explain why you didn't cc everyone on all patches (or vice versa). Also, the cover letter should have the shortlog and overall diffstats. 'git format-patch --cover-letter' will do the work for you.