aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2008-12-01 19:32:02 -0500
committerAvi Kivity <avi@redhat.com>2008-12-31 09:55:43 -0500
commit60c8aec6e2c9923492dabbd6b67e34692bd26c20 (patch)
treefa2d3b7f90f8dff8669a6fb6c85a41b9afb0f4c5 /arch/x86/include
parentfbce554e940a983d005e29849636d0ef54b3eb18 (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')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
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 */