KVM: Allow browsing memslots with mmu_lock
authorAndrea Arcangeli <andrea@qumranet.com>
Fri, 25 Jul 2008 14:32:03 +0000 (16:32 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 29 Jul 2008 09:33:50 +0000 (12:33 +0300)
commit604b38ac0369bd50fcbb33344aa5553c071009f7
tree149325ef8ddbeb607a19052bb807383a6aa7a549
parenta1708ce8a362c4999f1201237ae7b77c4d13af82
KVM: Allow browsing memslots with mmu_lock

This allows reading memslots with only the mmu_lock hold for mmu
notifiers that runs in atomic context and with mmu_lock held.

Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c