WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] avoid freeing arch.privregs twice

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] avoid freeing arch.privregs twice
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:45:25 +0000
Delivery-date: Sat, 09 Dec 2006 07:48:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Node ID 1cfd862e5254fa7c9614035035586a3f182a530f
# Parent  c650fe6d56f63a412432b3bccd5842dfe70a78a3
[IA64] avoid freeing arch.privregs twice

Not sure how this worked before, but mapping vcpu regs into
guest pseudo phys space causes extra problems.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c |    1 +
 1 files changed, 1 insertion(+)

diff -r c650fe6d56f6 -r 1cfd862e5254 xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Fri Dec 08 09:32:15 2006 -0700
+++ b/xen/arch/ia64/xen/dom0_ops.c      Fri Dec 08 11:31:29 2006 -0700
@@ -109,6 +109,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
                         BUG_ON(v->arch.privregs == NULL);
                         free_domheap_pages(virt_to_page(v->arch.privregs),
                                       get_order_from_shift(XMAPPEDREGS_SHIFT));
+                        v->arch.privregs = NULL;
                         relinquish_vcpu_resources(v);
                     }
                 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] avoid freeing arch.privregs twice, Xen patchbot-unstable <=