android_kernel_xiaomi_sm8350/drivers/kvm
Avi Kivity 22d95b1282 KVM: MMU: Fix rare oops on guest context switch
A guest context switch to an uncached cr3 can require allocation of
shadow pages, but we only recycle shadow pages in kvm_mmu_page_fault().

Move shadow page recycling to mmu_topup_memory_caches(), which is called
from both the page fault handler and from guest cr3 reload.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-14 13:59:55 -07:00
..
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
kvm_main.c KVM: Avoid calling smp_call_function_single() with interrupts disabled 2007-08-19 10:13:49 -07:00
kvm_svm.h
kvm.h KVM: MMU: Fix rare oops on guest context switch 2007-09-14 13:59:55 -07:00
Makefile
mmu.c KVM: MMU: Fix rare oops on guest context switch 2007-09-14 13:59:55 -07:00
paging_tmpl.h KVM: MMU: Store nx bit for large page shadows 2007-07-20 20:16:29 +03:00
segment_descriptor.h
svm.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
vmx.h
x86_emulate.c KVM: x86 emulator: fix debug reg mov instructions 2007-08-06 17:54:41 -07:00
x86_emulate.h