All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: Make sure log-dirty is turned off before trying to dismantle it
@ 2012-03-07 17:58 George Dunlap
  2012-03-08 12:17 ` Tim Deegan
  0 siblings, 1 reply; 5+ messages in thread
From: George Dunlap @ 2012-03-07 17:58 UTC (permalink / raw)
  To: xen-devel; +Cc: george.dunlap

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>

diff --git a/xen/arch/x86/mm/paging.c b/xen/arch/x86/mm/paging.c
--- a/xen/arch/x86/mm/paging.c
+++ b/xen/arch/x86/mm/paging.c
@@ -722,6 +722,10 @@ int paging_domctl(struct domain *d, xen_
 /* Call when destroying a domain */
 void paging_teardown(struct domain *d)
 {
+    /* Make sure log-dirty is turned off before trying to dismantle it. 
+     * Needs to be done here becuse it's covered by the hap/shadow lock */
+    d->arch.paging.log_dirty.disable_log_dirty(d);
+
     if ( hap_enabled(d) )
         hap_teardown(d);
     else

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-08 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 17:58 [PATCH] xen: Make sure log-dirty is turned off before trying to dismantle it George Dunlap
2012-03-08 12:17 ` Tim Deegan
2012-03-08 12:26   ` George Dunlap
2012-03-08 12:30     ` Keir Fraser
2012-03-08 12:33     ` Tim Deegan

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.