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>
This commit is contained in:
committed by
Avi Kivity
parent
4731d4c7a0
commit
0074ff63eb
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user