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] x86: Dom0 builder doesn't need to disable

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Dom0 builder doesn't need to disable IRQs while running on dom0 pagetables.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Oct 2008 10:50:16 -0700
Delivery-date: Thu, 23 Oct 2008 10:50:48 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224772707 -3600
# Node ID d1ecee02cced6a60c2ce3c4a6930532bf3ac3f4a
# Parent  164985e3a46e66685e25413b5915e907318498bc
x86: Dom0 builder doesn't need to disable IRQs while running on dom0 pagetables.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/domain_build.c |    2 --
 1 files changed, 2 deletions(-)

diff -r 164985e3a46e -r d1ecee02cced xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Thu Oct 23 15:34:27 2008 +0100
+++ b/xen/arch/x86/domain_build.c       Thu Oct 23 15:38:27 2008 +0100
@@ -203,7 +203,6 @@ static void dom0_pt_enter(struct vcpu *v
     };
 
     asm volatile ( "lgdt %0" : : "m" (gdt_desc) );
-    local_irq_disable();
     write_ptbase(v);
 }
 
@@ -216,7 +215,6 @@ static void dom0_pt_exit(void)
     };
 
     write_ptbase(current);
-    local_irq_enable();
     asm volatile ( "lgdt %0" : : "m" (gdt_desc) );
 }
 

_______________________________________________
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] x86: Dom0 builder doesn't need to disable IRQs while running on dom0 pagetables., Xen patchbot-unstable <=