[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [SHADOW] Use fast-unshadow for early_unshadow heuristic.



# HG changeset patch
# User George Dunlap <gdunlap@xxxxxxxxxxxxx>
# Date 1190198525 -3600
# Node ID fadd1f8222b3fc3e41977863825871dbc8514344
# Parent  6146bea9e67f5166364725cdd4c33127c3abfdd8
[SHADOW] Use fast-unshadow for early_unshadow heuristic.
---
 xen/arch/x86/mm/shadow/multi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6146bea9e67f -r fadd1f8222b3 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Wed Sep 19 10:24:24 2007 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c    Wed Sep 19 11:42:05 2007 +0100
@@ -2551,7 +2551,7 @@ static inline void check_for_early_unsha
         if ( !(flags & (SHF_L2_32|SHF_L2_PAE|SHF_L2H_PAE|SHF_L4_64)) )
         {
             perfc_incr(shadow_early_unshadow);
-            sh_remove_shadows(v, gmfn, 0, 0 /* Slow, can fail to unshadow */ );
+            sh_remove_shadows(v, gmfn, 1, 0 /* Fast, can fail to unshadow */ );
         } 
     }
     v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.