ACK On Tue, Jul 07, 2009 at 03:27:32PM +0300, Gleb Natapov wrote: > This will save a couple of IPIs. > > Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx> > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index efb0b68..1e30400 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -3498,6 +3498,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) > smp_mb__after_clear_bit(); > > if (vcpu->requests || need_resched() || signal_pending(current)) { > + set_bit(KVM_REQ_KICK, &vcpu->requests); > local_irq_enable(); > preempt_enable(); > r = 1; > -- > Gleb. -- 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