diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-09-23 13:18:40 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 14:25:26 +0200 |
commit | 0074ff63ebc195701062ca46e0d82fcea0fa3a0a (patch) | |
tree | fb9c40fc914a17de448d0d5ab822129a5e179b25 /include | |
parent | 4731d4c7a07769cf2926c327177b97bb8c68cafc (diff) | |
download | blackbird-op-linux-0074ff63ebc195701062ca46e0d82fcea0fa3a0a.tar.gz blackbird-op-linux-0074ff63ebc195701062ca46e0d82fcea0fa3a0a.zip |
KVM: MMU: speed up mmu_unsync_walk
Cache the unsynced children information in a per-page bitmap.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 7d36fcc02818..0992d721c5f7 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h @@ -201,6 +201,7 @@ struct kvm_mmu_page { u64 *parent_pte; /* !multimapped */ struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ }; + DECLARE_BITMAP(unsync_child_bitmap, 512); }; struct kvm_pv_mmu_op_buffer { |