linux/arch/x86/kvm
Marcelo Tosatti 10589a4699 KVM: MMU: Concurrent guest walkers
Do not hold kvm->lock mutex across the entire pagefault code,
only acquire it in places where it is necessary, such as mmu
hash list, active list, rmap and parent pte handling.

Allow concurrent guest walkers by switching walk_addr() to use
mmap_sem in read-mode.

And get rid of the lockless __gfn_to_page.

[avi: move kvm_mmu_pte_write() locking inside the function]
[avi: add locking for real mode]
[avi: fix cmpxchg locking]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-01-30 18:01:20 +02:00
..
i8259.c KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
irq.c KVM: Move kvm_vcpu_kick() to x86.c 2008-01-30 18:01:19 +02:00
irq.h KVM: Move kvm_vcpu_kick() to x86.c 2008-01-30 18:01:19 +02:00
Kconfig KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
kvm_svm.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
lapic.c KVM: Accelerated apic support 2008-01-30 18:01:20 +02:00
lapic.h KVM: Accelerated apic support 2008-01-30 18:01:20 +02:00
Makefile KVM: Move ioapic code to common directory. 2008-01-30 18:01:19 +02:00
mmu.c KVM: MMU: Concurrent guest walkers 2008-01-30 18:01:20 +02:00
mmu.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
paging_tmpl.h KVM: MMU: Concurrent guest walkers 2008-01-30 18:01:20 +02:00
segment_descriptor.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
svm.c KVM: Disable vapic support on Intel machines with FlexPriority 2008-01-30 18:01:20 +02:00
svm.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
vmx.c KVM: MMU: Concurrent guest walkers 2008-01-30 18:01:20 +02:00
vmx.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
x86_emulate.c KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
x86.c KVM: MMU: Concurrent guest walkers 2008-01-30 18:01:20 +02:00