* [PATCH]small fix for shadow
@ 2005-11-29 7:17 Ling, Xiaofeng
0 siblings, 0 replies; only message in thread
From: Ling, Xiaofeng @ 2005-11-29 7:17 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@intel.com>
# Node ID 188b619dad2998f0625b247ee298def1919696ca
# Parent 90d9dff476923318f34c993016c9ada8979ee06d
small fix for shadow
Signed-off-by:Xiaofeng Ling <xiaofeng.ling@intel.com>
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
@@ -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 )
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
@@ -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 )
[-- Attachment #2: rmfix.patch --]
[-- Type: text/x-patch, Size: 1405 bytes --]
# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@intel.com>
# Node ID 188b619dad2998f0625b247ee298def1919696ca
# Parent 90d9dff476923318f34c993016c9ada8979ee06d
small fix for shadow
Signed-off-by:Xiaofeng Ling <xiaofeng.ling@intel.com>
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
@@ -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 )
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
@@ -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 )
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-29 7:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 7:17 [PATCH]small fix for shadow Ling, Xiaofeng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.