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 <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>

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

Reply via email to