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

[Xen-changelog] Must destroy grant-table maptrack table before pagetables,



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.