diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-12-01 19:32:02 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:55:43 -0500 |
commit | 60c8aec6e2c9923492dabbd6b67e34692bd26c20 (patch) | |
tree | fa2d3b7f90f8dff8669a6fb6c85a41b9afb0f4c5 /arch/x86/include/asm/kvm_host.h | |
parent | fbce554e940a983d005e29849636d0ef54b3eb18 (diff) |
KVM: MMU: use page array in unsync walk
Instead of invoking the handler directly collect pages into
an array so the caller can work with it.
Simplifies TLB flush collapsing.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index f58f7ebdea81..93d0aed35880 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -200,7 +200,7 @@ struct kvm_mmu_page { | |||
200 | int multimapped; /* More than one parent_pte? */ | 200 | int multimapped; /* More than one parent_pte? */ |
201 | int root_count; /* Currently serving as active root */ | 201 | int root_count; /* Currently serving as active root */ |
202 | bool unsync; | 202 | bool unsync; |
203 | bool unsync_children; | 203 | unsigned int unsync_children; |
204 | union { | 204 | union { |
205 | u64 *parent_pte; /* !multimapped */ | 205 | u64 *parent_pte; /* !multimapped */ |
206 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ | 206 | struct hlist_head parent_ptes; /* multimapped, kvm_pte_chain */ |