From f26cc7890337eb60472e9888a547a608f2555916 Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Tue, 17 Oct 2006 11:11:48 +0100 Subject: [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 --- xen/include/asm-x86/hvm/vcpu.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xen/include/asm-x86/hvm/vcpu.h') 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; -- cgit v1.2.3