aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2006-10-17 11:11:48 +0100
committerTim Deegan <Tim.Deegan@xensource.com>2006-10-17 11:11:48 +0100
commitf26cc7890337eb60472e9888a547a608f2555916 (patch)
tree8b9e726efaa0dbb8d8b71688a077e8b6d421b05d /xen/include/asm-x86/hvm/vcpu.h
parent3cc943dc88804bb61719d991267cc4b86f0fe198 (diff)
downloadxen-f26cc7890337eb60472e9888a547a608f2555916.tar.gz
xen-f26cc7890337eb60472e9888a547a608f2555916.tar.bz2
xen-f26cc7890337eb60472e9888a547a608f2555916.zip
[XEN] Don't keep shadows of PAE guest l3 tables.
Holding pages readonly that have guest PAE l3 tables in them means a performance hit and potential bug if the guest puts other datastructures on the same page as an l3 table. Instead of shadowing them, treat PAE guests as if they had four CR3 registers, and load all four top-level entries when we handle a CR3 write. This also cuts about 500 lines of special-case refcounting and re-copying code. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index b607a4578b..f613ae6a09 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -41,11 +41,6 @@ struct hvm_vcpu {
int xen_port;
-#if CONFIG_PAGING_LEVELS >= 3
- l3_pgentry_t hvm_lowmem_l3tab[4]
- __attribute__((__aligned__(32)));
-#endif
-
/* Flags */
int flag_dr_dirty;