[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <99d15788-cc14-c8e5-80b1-0dc0777a5993@oracle.com>
Date: Sun, 6 Oct 2019 15:52:12 +0800
From: Zhenzhong Duan <zhenzhong.duan@...cle.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>,
linux-kernel@...r.kernel.org
Cc: vkuznets@...hat.com, linux-hyperv@...r.kernel.org,
kvm@...r.kernel.org, kys@...rosoft.com, haiyangz@...rosoft.com,
sthemmin@...rosoft.com, sashal@...nel.org, tglx@...utronix.de,
mingo@...hat.com, bp@...en8.de, pbonzini@...hat.com,
rkrcmar@...hat.com, sean.j.christopherson@...el.com,
wanpengli@...cent.com, jmattson@...gle.com, joro@...tes.org,
jgross@...e.com, sstabellini@...nel.org, peterz@...radead.org,
Jonathan Corbet <corbet@....net>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH v4 3/4] xen: Mark "xen_nopvspin" parameter obsolete
On 2019/10/4 22:57, Boris Ostrovsky wrote:
> On 10/3/19 10:02 AM, Zhenzhong Duan wrote:
>> Map "xen_nopvspin" to "nopvspin", fix stale description of "xen_nopvspin"
>> as we use qspinlock now.
>>
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@...cle.com>
>> Cc: Jonathan Corbet <corbet@....net>
>> Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>
>> Cc: Juergen Gross <jgross@...e.com>
>> Cc: Stefano Stabellini <sstabellini@...nel.org>
>> Cc: Thomas Gleixner <tglx@...utronix.de>
>> Cc: Ingo Molnar <mingo@...hat.com>
>> Cc: Borislav Petkov <bp@...en8.de>
>> Cc: "H. Peter Anvin" <hpa@...or.com>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
>
> with a small nit
>
>> void __init xen_init_spinlocks(void)
>> {
>> + if (nopvspin)
>> + xen_pvspin = false;
>>
>> /* Don't need to use pvqspinlock code if there is only 1 vCPU. */
>> if (num_possible_cpus() == 1)
> I'd fold the change into this 'if' statement, I think it will still be
> clear what the comment refers to.
Good suggestion, will do that. Thanks
Zhenzhong
Powered by blists - more mailing lists