]> xenbits.xensource.com Git - xen.git/commitdiff
[SHADOW] Use fast-unshadow for early_unshadow heuristic.
authorGeorge Dunlap <gdunlap@xensource.com>
Wed, 19 Sep 2007 10:42:05 +0000 (11:42 +0100)
committerGeorge Dunlap <gdunlap@xensource.com>
Wed, 19 Sep 2007 10:42:05 +0000 (11:42 +0100)
xen/arch/x86/mm/shadow/multi.c

index 82c54c52075eb7a3fb4b2ebc7604686fd8cd3401..a68c1e06e0c057d1fa7fd7634875f4a93eb9606e 100644 (file)
@@ -2551,7 +2551,7 @@ static inline void check_for_early_unshadow(struct vcpu *v, mfn_t gmfn)
         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);