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] Move xenbus_suspend outside critical region with

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Move xenbus_suspend outside critical region with
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 16:46:11 +0000
Delivery-date: Thu, 29 Sep 2005 16:43:40 +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 399436887a32047613c28c93e51103c257c7a808
# Parent  3c1a91c309b856e7a366760bda40afece28d167d
Move xenbus_suspend outside critical region with
interrupts disabled.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 3c1a91c309b8 -r 399436887a32 
linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
--- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Thu Sep 29 16:12:48 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Thu Sep 29 16:39:33 2005
@@ -95,6 +95,8 @@
                return -EOPNOTSUPP;
        }
 #endif
+
+       xenbus_suspend();
 
        preempt_disable();
 #ifdef CONFIG_SMP
@@ -140,8 +142,6 @@
        }
 #endif
 
-       xenbus_suspend();
-
        gnttab_suspend();
 
 #ifdef __i386__

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Move xenbus_suspend outside critical region with, Xen patchbot -unstable <=