kernel-fxtec-pro1x/arch/arm64/kvm
Marc Zyngier d241aac798 arm64: KVM: Yield CPU when vcpu executes a WFE
On an (even slightly) oversubscribed system, spinlocks are quickly
becoming a bottleneck, as some vcpus are spinning, waiting for a
lock to be released, while the vcpu holding the lock may not be
running at all.

The solution is to trap blocking WFEs and tell KVM that we're
now spinning. This ensures that other vpus will get a scheduling
boost, allowing the lock to be released more quickly. Also, using
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT slightly improves the performance
when the VM is severely overcommited.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2013-10-29 18:25:25 +00:00
..
emulate.c arm64: KVM: 32bit conditional execution emulation 2013-06-12 16:42:15 +01:00
guest.c arm64: KVM: enable initialization of a 32bit vcpu 2013-06-12 16:42:18 +01:00
handle_exit.c arm64: KVM: Yield CPU when vcpu executes a WFE 2013-10-29 18:25:25 +00:00
hyp-init.S arm64: KVM: hypervisor initialization code 2013-06-07 14:03:40 +01:00
hyp.S arm64: KVM: add missing dsb before invalidating Stage-2 TLBs 2013-08-09 13:19:28 +01:00
inject_fault.c arm64: KVM: 32bit guest fault injection 2013-06-12 16:42:18 +01:00
Kconfig arm64: KVM: Yield CPU when vcpu executes a WFE 2013-10-29 18:25:25 +00:00
Makefile arm64: KVM: 32bit conditional execution emulation 2013-06-12 16:42:15 +01:00
regmap.c arm64: KVM: 32bit GP register access 2013-06-12 16:42:14 +01:00
reset.c arm64: KVM: enable initialization of a 32bit vcpu 2013-06-12 16:42:18 +01:00
sys_regs.c arm64: KVM: perform save/restore of PAR_EL1 2013-08-09 13:19:28 +01:00
sys_regs.h
sys_regs_generic_v8.c arm64: KVM: CPU specific 32bit coprocessor access 2013-06-12 16:42:16 +01:00