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

[Xen-changelog] [xen-unstable] [IA64] avoid long time interrupt masking.



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID a3a079af0e92f7e16fe6cb3b39c3a189a3e5c46a
# Parent  64290e7622d2bd214b3c21f58b3f420a35b4c610
[IA64] avoid long time interrupt masking.

flush_vtlb_fro_context_switch() can be executed with interrupt enabled.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/domain.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 64290e7622d2 -r a3a079af0e92 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Oct 02 21:30:51 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Mon Oct 02 21:32:46 2006 -0600
@@ -190,8 +190,8 @@ void context_switch(struct vcpu *prev, s
                __ia64_per_cpu_var(current_psr_ic_addr) = NULL;
         }
     }
+    local_irq_restore(spsr);
     flush_vtlb_for_context_switch(current);
-    local_irq_restore(spsr);
     context_saved(prev);
 }
 

_______________________________________________
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®.