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] Must destroy grant-table maptrack table before pagetable

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Must destroy grant-table maptrack table before pagetables,
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jan 2006 14:44:09 +0000
Delivery-date: Thu, 26 Jan 2006 14:53:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 5fcc346d6fe086436977a9b171f2bdb3a177d828
# Parent  d8232e9f7988d39031a2ac3b551cee8382b2f839
Must destroy grant-table maptrack table before pagetables,
as the latter hold reference counts that maptrack entries
implicitly rely on.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r d8232e9f7988 -r 5fcc346d6fe0 xen/common/domain.c
--- a/xen/common/domain.c       Wed Jan 25 23:17:06 2006
+++ b/xen/common/domain.c       Thu Jan 26 10:31:28 2006
@@ -130,8 +130,8 @@
     {
         for_each_vcpu(d, v)
             sched_rem_domain(v);
+        gnttab_release_mappings(d);
         domain_relinquish_resources(d);
-        gnttab_release_mappings(d);
         put_domain(d);
 
         send_guest_virq(dom0->vcpu[0], VIRQ_DOM_EXC);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Must destroy grant-table maptrack table before pagetables,, Xen patchbot -unstable <=