ia64/xen-unstable

changeset 15931:fadd1f8222b3

[SHADOW] Use fast-unshadow for early_unshadow heuristic.
author George Dunlap <gdunlap@xensource.com>
date Wed Sep 19 11:42:05 2007 +0100 (2007-09-19)
parents 6146bea9e67f
children 91a5b7eaede3
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Wed Sep 19 10:24:24 2007 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Wed Sep 19 11:42:05 2007 +0100
     1.3 @@ -2551,7 +2551,7 @@ static inline void check_for_early_unsha
     1.4          if ( !(flags & (SHF_L2_32|SHF_L2_PAE|SHF_L2H_PAE|SHF_L4_64)) )
     1.5          {
     1.6              perfc_incr(shadow_early_unshadow);
     1.7 -            sh_remove_shadows(v, gmfn, 0, 0 /* Slow, can fail to unshadow */ );
     1.8 +            sh_remove_shadows(v, gmfn, 1, 0 /* Fast, can fail to unshadow */ );
     1.9          } 
    1.10      }
    1.11      v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);