commit | 5a4c92880493945678315a6df810f7a21f55b985 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Thu Jul 03 18:33:02 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Jul 20 12:42:38 2008 +0300 |
tree | 2a03286d5f9ea2e6f9426bbf153d3044122105e6 | |
parent | 7e37c2998a5a0b00134f6227167694b710f57ac0 [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>