|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Move some code out of IRQ-disabled s
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224594877 -3600
# Node ID e7f876c949552e5a6e31605114e3644040a73e14
# Parent de6af72f7b5cef2902063f2898d8238ab4697a1e
x86: Move some code out of IRQ-disabled section of context switch path.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/domain.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r de6af72f7b5c -r e7f876c94955 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c Tue Oct 21 14:13:54 2008 +0100
+++ b/xen/arch/x86/domain.c Tue Oct 21 14:14:37 2008 +0100
@@ -1255,10 +1255,10 @@ void context_switch(struct vcpu *prev, s
flush_tlb_mask(next->vcpu_dirty_cpumask);
}
- local_irq_disable();
-
if ( is_hvm_vcpu(prev) && !list_empty(&prev->arch.hvm_vcpu.tm_list) )
pt_save_timer(prev);
+
+ local_irq_disable();
set_current(next);
_______________________________________________
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: Move some code out of IRQ-disabled section of context switch path.,
Xen patchbot-unstable <=
|
|
|
|
|