|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] Idle domain doesn't need to save a
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 7e7846ea4ab321e6d6b7ad34bbcd808cd2bbcfff
# Parent b39844e292f66762a02b2080c0f04b5e7bc58ead
[IA64] Idle domain doesn't need to save and restore fph
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
xen/arch/ia64/xen/domain.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff -r b39844e292f6 -r 7e7846ea4ab3 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c Mon Nov 27 09:26:15 2006 -0700
+++ b/xen/arch/ia64/xen/domain.c Mon Nov 27 10:10:57 2006 -0700
@@ -164,8 +164,11 @@ void context_switch(struct vcpu *prev, s
local_irq_save(spsr);
- __ia64_save_fpu(prev->arch._thread.fph);
- __ia64_load_fpu(next->arch._thread.fph);
+ if (!is_idle_domain(prev->domain))
+ __ia64_save_fpu(prev->arch._thread.fph);
+ if (!is_idle_domain(next->domain))
+ __ia64_load_fpu(next->arch._thread.fph);
+
if (VMX_DOMAIN(prev)) {
vmx_save_state(prev);
if (!VMX_DOMAIN(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] [IA64] Idle domain doesn't need to save and restore fph,
Xen patchbot-unstable <=
|
|
|
|
|