aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2008-07-03 18:33:02 -0300
committerAvi Kivity <avi@qumranet.com>2008-07-20 12:42:38 +0300
commit5a4c92880493945678315a6df810f7a21f55b985 (patch)
tree2a03286d5f9ea2e6f9426bbf153d3044122105e6 /arch/x86/kvm/x86.c
parent7e37c2998a5a0b00134f6227167694b710f57ac0 (diff)
KVM: mmu_shrink: kvm_mmu_zap_page requires slots_lock to be held
kvm_mmu_zap_page() needs slots lock held (rmap_remove->gfn_to_memslot, for example). Since kvm_lock spinlock is held in mmu_shrink(), do a non-blocking down_read_trylock(). Untested. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions