diff options
author | Waiman Long <longman@redhat.com> | 2018-07-17 17:59:27 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-08-06 17:59:04 +0200 |
commit | 3553ae5690a84a5baae5baa329467b3df2d99f72 (patch) | |
tree | 336d0d26cfb9af7c6c0ef2c9ce7d835e2fcf1e7a /tools/perf/scripts/python/sched-migration.py | |
parent | 450917b654c12075bd2b07d1e375dfed1bc9ca1e (diff) |
x86/kvm: Don't use pvqspinlock code if only 1 vCPU
On a VM with only 1 vCPU, the locking fast path will always be
successful. In this case, there is no need to use the the PV qspinlock
code which has higher overhead on the unlock side than the native
qspinlock code.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions