diff options
author | Andrea Arcangeli <andrea@qumranet.com> | 2008-07-25 16:26:39 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-29 12:33:40 +0300 |
commit | a1708ce8a362c4999f1201237ae7b77c4d13af82 (patch) | |
tree | d9d98623e18616a3c7eac0f652a57bd888c5cc70 /arch/x86/kvm/paging_tmpl.h | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
KVM: Allow reading aliases with mmu_lock
This allows the mmu notifier code to run unalias_gfn with only the
mmu_lock held. Only alias writes need the mmu_lock held. Readers will
either take the slots_lock in read mode or the mmu_lock.
Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions