diff options
| author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-09-23 12:18:40 -0400 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2008-10-15 08:25:26 -0400 |
| commit | 0074ff63ebc195701062ca46e0d82fcea0fa3a0a (patch) | |
| tree | fb9c40fc914a17de448d0d5ab822129a5e179b25 /include | |
| parent | 4731d4c7a07769cf2926c327177b97bb8c68cafc (diff) | |
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 { | |||
| 201 | u64 *parent_pte; /* !multimapped */ | 201 | u64 *parent_pte; /* !multimapped */ |
| 202 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ | 202 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ |
| 203 | }; | 203 | }; |
| 204 | DECLARE_BITMAP(unsync_child_bitmap, 512); | ||
| 204 | }; | 205 | }; |
| 205 | 206 | ||
| 206 | struct kvm_pv_mmu_op_buffer { | 207 | struct kvm_pv_mmu_op_buffer { |
