From: Rik van Riel Date: Tue, 1 Feb 2011 14:53:28 +0000 (-0500) Subject: KVM: use yield_to instead of sleep in kvm_vcpu_on_spin X-Git-Tag: v2.6.39-rc1~436^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217ece6129f2d3b4fdd18d9e79be9e43d8d14a42;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed