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

[Xen-changelog] [xen-unstable] [XEN] Set p2m page count-info fields properly on allocation.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1171631400 0
# Node ID 8c6d787354d93db15f81e75f883e33395a5f3d83
# Parent  d5076a33cbb199e90f823219d7fcfca25341b285
[XEN] Set p2m page count-info fields properly on allocation.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/common.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d5076a33cbb1 -r 8c6d787354d9 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Fri Feb 16 12:34:30 2007 +0000
+++ b/xen/arch/x86/mm/shadow/common.c   Fri Feb 16 13:10:00 2007 +0000
@@ -1070,7 +1070,7 @@ sh_alloc_p2m_pages(struct domain *d)
          * believed to be a concern.
          */
         page_set_owner(&pg[i], d);
-        pg->count_info = 1;
+        pg[i].count_info = 1;
         list_add_tail(&pg[i].list, &d->arch.paging.shadow.p2m_freelist);
     }
     return 1;

_______________________________________________
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®.