On 06.09.2010, at 11:14, Avi Kivity wrote: > On 09/06/2010 12:09 PM, Alexander Graf wrote: >> >>> It can also be running host kernel or user code. >> In that case it's the same as running guest code, no? We'll pass by the vcpu entry check asap. > > Sure, but the IPI is wasted. If you spend 10% of your time in host code, you can avoid 10% of the IPIs. > > (actually less, since the atomic part of the guest switch has guest_mode enabled) Oh. My bad. I had a thinko here :). Sure, sounds like a good idea. Alex -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html