Wanpeng Li ec756e40e2 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
Inspired by commit 3553ae5690a (x86/kvm: Don't use pvqspinlock code if
only 1 vCPU), on a VM with only 1 vCPU, there is no need to enable
pv tlb/ipi/sched_yield and we can save the memory for __pv_cpu_mask.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1645171838-2855-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-02-18 03:36:24 -05:00
..
2022-01-23 06:20:44 +02:00
2022-01-11 10:25:36 -08:00
2022-01-16 15:53:00 +02:00
2020-11-24 16:47:49 +01:00
2021-11-02 22:22:13 -07:00
2021-12-13 12:04:45 -06:00
2021-04-26 15:10:25 -07:00
2022-01-21 09:10:46 +02:00
2021-06-29 12:36:59 -07:00
2021-03-18 15:31:53 +01:00
2022-01-16 16:15:14 +02:00
2021-12-01 00:06:43 +01:00
2021-03-18 15:31:53 +01:00
2020-08-20 13:12:58 +02:00
2020-07-27 14:31:07 -04:00
2021-03-18 15:31:53 +01:00
2021-10-25 23:02:36 -04:00
2021-12-11 09:09:50 +01:00