diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2007-12-21 00:18:22 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 16:01:20 (GMT) |
commit | 10589a4699bb978c781ce73bbae8ca942c5250c9 (patch) | |
tree | 5585ed87fff0a2ba259fcc6f998022481da75f68 /fs/generic_acl.c | |
parent | 774ead3ad9bcbc05ef6aaebb9bdf8b4c3126923b (diff) | |
download | linux-10589a4699bb978c781ce73bbae8ca942c5250c9.tar.xz |
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>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions