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] Get FPU working on context_switch

# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 6e9248e8f40177bfc7bf3456658daa49ab5170a2
# Parent  00a05c6a0acc4d134a72957ac6827fe3cca63e64
Get FPU working on context_switch

diff -r 00a05c6a0acc -r 6e9248e8f401 xen/arch/ia64/xenmisc.c
--- a/xen/arch/ia64/xenmisc.c   Mon Jul 18 20:23:36 2005
+++ b/xen/arch/ia64/xenmisc.c   Mon Jul 18 21:05:04 2005
@@ -291,8 +291,8 @@
 static long cnt[16] = { 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50};
 static int i = 100;
 int id = ((struct vcpu *)current)->domain->domain_id & 0xf;
-if (!cnt[id]--) { printk("%x",id); cnt[id] = 50000; }
-if (!i--) { printk("+",id); i = 100000; }
+if (!cnt[id]--) { printk("%x",id); cnt[id] = 500000; }
+if (!i--) { printk("+",id); i = 1000000; }
 }
        clear_bit(_VCPUF_running, &prev->vcpu_flags);
        //if (!is_idle_task(next->domain) )
diff -r 00a05c6a0acc -r 6e9248e8f401 xen/include/asm-ia64/xensystem.h
--- a/xen/include/asm-ia64/xensystem.h  Mon Jul 18 20:23:36 2005
+++ b/xen/include/asm-ia64/xensystem.h  Mon Jul 18 21:05:04 2005
@@ -58,7 +58,8 @@
                ia64_save_extra(prev);                                          
                 \
        if (IA64_HAS_EXTRA_STATE(next))                                         
                 \
                ia64_load_extra(next);                                          
                 \
-       ia64_psr(ia64_task_regs(next))->dfh = !ia64_is_local_fpu_owner(next);   
                 \
+       /*ia64_psr(ia64_task_regs(next))->dfh = 
!ia64_is_local_fpu_owner(next);*/                        \
+       /* vcpu_set_next_timer(next);  TURN ME BACK ON */                       
                \
        (last) = ia64_switch_to((next));                                        
                 \
 } while (0)
 #endif // CONFIG_VTI

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Get FPU working on context_switch, Xen patchbot -unstable <=