]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Hoist kvm_mmu_reload() out of the critical section
authorShaohua Li <shaohua.li@intel.com>
Mon, 23 Jul 2007 06:51:32 +0000 (14:51 +0800)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:19 +0000 (10:18 +0200)
commit4f42a693d84b055b490481a9aee8b771f0947154
tree90b5c3c166bd9ce9c9b415c6a6246c2fdb53693c
parent65ca8e778a0da7f01e79b6b102e2116c513ab944
KVM: Hoist kvm_mmu_reload() out of the critical section

vmx_cpu_run doesn't handle error correctly and kvm_mmu_reload might
sleep with mutex changes, so I move it above.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c