android_kernel_xiaomi_sm8350/drivers/kvm
Avi Kivity 15ad71460d KVM: Use the scheduler preemption notifiers to make kvm preemptible
Current kvm disables preemption while the new virtualization registers are
in use.  This of course is not very good for latency sensitive workloads (one
use of virtualization is to offload user interface and other latency
insensitive stuff to a container, so that it is easier to analyze the
remaining workload).  This patch re-enables preemption for kvm; preemption
is now only disabled when switching the registers in and out, and during
the switch to guest mode and back.

Contains fixes from Shaohua Li <shaohua.li@intel.com>.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-10-13 10:18:20 +02:00
..
Kconfig KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
kvm_main.c KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
kvm_svm.h KVM: Dynamically allocate vcpus 2007-10-13 10:18:20 +02:00
kvm.h KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
Makefile
mmu.c KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
paging_tmpl.h KVM: Move gfn_to_page out of kmap/unmap pairs 2007-10-13 10:18:19 +02:00
segment_descriptor.h
svm.c KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
vmx.h KVM: VMX: Import some constants of vmcs from IA32 SDM 2007-10-13 10:18:19 +02:00
x86_emulate.c KVM: Remove dead code in the cmpxchg instruction emulation 2007-10-13 10:18:19 +02:00
x86_emulate.h KVM: Trivial: Make decode_register() static 2007-10-13 10:18:18 +02:00