Re: [PATCH] KVM: don't sent IPI if the vcpu is not online

From: Avi Kivity
Date: Mon Sep 06 2010 - 05:14:57 EST


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)

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/