small fix for shadow
PATCH 1/1 small fix for shadow
# HG changeset patch
# User Xiaofeng Ling <[email protected]> # Node ID 188b619dad2998f0625b247ee298def1919696ca # Parent 90d9dff476923318f34c993016c9ada8979ee06d small fix for shadow
Signed-off-by Xiaofeng Ling <[email protected]>
xen/arch/x86/shadow.c +1 -1
@@ -1333,7 +1333,7 @@ i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask) >> PGT_va_shift; -if ( (i >=0 && i <=L1_PAGETABLE_ENTRIES ) && +if ( (i >=0 && i <L1_PAGETABLE_ENTRIES ) && !l1e_has_changed (pt[i], match, flags) && fix_entry(d, &pt[i], &found, is_l1_shadow,
max_refs_to_find) &&
!prediction )
xen/arch/x86/shadow32.c +1 -1
@@ -2146,7 +2146,7 @@ i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask) >> PGT_va_shift; -if ( (i >=0 && i <=L1_PAGETABLE_ENTRIES ) && +if ( (i >=0 && i <L1_PAGETABLE_ENTRIES ) && !l1e_has_changed (pt[i], match, flags) && fix_entry(d, &pt[i], &found, is_l1_shadow,
max_refs_to_find) &&
!prediction )
# HG changeset patch
# User Xiaofeng Ling <[email protected]> # Node ID 188b619dad2998f0625b247ee298def1919696ca # Parent 90d9dff476923318f34c993016c9ada8979ee06d small fix for shadow
Signed-off-by Xiaofeng Ling <[email protected]>
xen/arch/x86/shadow.c +1 -1
@@ -1333,7 +1333,7 @@ i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask) >> PGT_va_shift; -if ( (i >=0 && i <=L1_PAGETABLE_ENTRIES ) && +if ( (i >=0 && i <L1_PAGETABLE_ENTRIES ) && !l1e_has_changed (pt[i], match, flags) &&fix_entry (d, &pt[i], &found, is_l1_shadow, max_refs_to_find) && !prediction )
xen/arch/x86/shadow32.c +1 -1
@@ -2146,7 +2146,7 @@ i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask) >> PGT_va_shift; -if ( (i >=0 && i <=L1_PAGETABLE_ENTRIES ) && +if ( (i >=0 && i <L1_PAGETABLE_ENTRIES ) && !l1e_has_changed (pt[i], match, flags) &&fix_entry (d, &pt[i], &found, is_l1_shadow, max_refs_to_find) && !prediction )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel