linux-stable-rt/arch/ia64/kvm
Marcelo Tosatti 32f8840064 KVM: use smp_send_reschedule in kvm_vcpu_kick
KVM uses a function call IPI to cause the exit of a guest running on a
physical cpu. For virtual interrupt notification there is no need to
wait on IPI receival, or to execute any function.

This is exactly what the reschedule IPI does, without the overhead
of function IPI. So use it instead of smp_call_function_single in
kvm_vcpu_kick.

Also change the "guest_mode" variable to a bit in vcpu->requests, and
use that to collapse multiple IPI's that would be issued between the
first one and zeroing of guest mode.

This allows kvm_vcpu_kick to called with interrupts disabled.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-06-10 11:48:53 +03:00
..
Kconfig KVM: ia64: make kvm depend on CONFIG_MODULES. 2009-06-10 11:48:38 +03:00
Makefile
asm-offsets.c
irq.h
kvm-ia64.c KVM: use smp_send_reschedule in kvm_vcpu_kick 2009-06-10 11:48:53 +03:00
kvm_fw.c KVM: ia64: SN2 adjust emulated ITC frequency to match RTC frequency 2009-06-10 11:48:29 +03:00
kvm_lib.c
kvm_minstate.h
lapic.h KVM: APIC: get rid of deliver_bitmask 2009-06-10 11:48:27 +03:00
memcpy.S
memset.S
misc.h
mmio.c
optvfault.S KVM: ia64: Drop in SN2 replacement of fast path ITC emulation fault handler 2009-06-10 11:48:29 +03:00
process.c KVM: ia64: enable external interrupt in vmm 2009-06-10 11:48:34 +03:00
trampoline.S
vcpu.c KVM: ia64: Create inline function kvm_get_itc() to centralize ITC reading. 2009-06-10 11:48:28 +03:00
vcpu.h
vmm.c KVM: ia64: Drop in SN2 replacement of fast path ITC emulation fault handler 2009-06-10 11:48:29 +03:00
vmm_ivt.S KVM: ia64: enable external interrupt in vmm 2009-06-10 11:48:34 +03:00
vti.h
vtlb.c KVM: ia64: enable external interrupt in vmm 2009-06-10 11:48:34 +03:00