diff options
author | Rik van Riel <riel@redhat.com> | 2011-02-01 17:53:28 +0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 19:08:29 +0300 |
commit | 217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 (patch) | |
tree | b2bbd81042f48e862e0c0b8743edc932102640bb /crypto/xts.c | |
parent | 34bb10b79de7df118de832f6832efb630e646577 (diff) | |
download | linux-217ece6129f2d3b4fdd18d9e79be9e43d8d14a42.tar.xz |
KVM: use yield_to instead of sleep in kvm_vcpu_on_spin
Instead of sleeping in kvm_vcpu_on_spin, which can cause gigantic
slowdowns of certain workloads, we instead use yield_to to get
another VCPU in the same KVM guest to run sooner.
This seems to give a 10-15% speedup in certain workloads.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions