diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-07-03 17:33:02 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-20 05:42:38 -0400 |
commit | 5a4c92880493945678315a6df810f7a21f55b985 (patch) | |
tree | 2a03286d5f9ea2e6f9426bbf153d3044122105e6 /arch/x86/kvm/vmx.c | |
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>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions