ia64/xen-unstable

changeset 10937:15498beef5d8

[IA64] Remove scheduler heartbeat

Signed-off-by: Daniel Miles <daniel.t.miles@hp.com>
author awilliam@xenbuild.aw
date Tue Aug 08 14:42:34 2006 -0600 (2006-08-08)
parents 3f3388f3e605
children bfc69471550e
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Tue Aug 08 14:40:57 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Tue Aug 08 14:42:34 2006 -0600
     1.3 @@ -145,16 +145,6 @@ void context_switch(struct vcpu *prev, s
     1.4      /* Note: ia64_switch_to does not return here at vcpu initialization.  */
     1.5  
     1.6      //cpu_set(smp_processor_id(), current->domain->domain_dirty_cpumask);
     1.7 -
     1.8 -// leave this debug for now: it acts as a heartbeat when more than
     1.9 -// one domain is active
    1.10 -{
    1.11 -static long cnt[16] = { 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50};
    1.12 -static int i = 100;
    1.13 -int id = ((struct vcpu *)current)->domain->domain_id & 0xf;
    1.14 -if (!cnt[id]--) { cnt[id] = 500000; printk("%x",id); }
    1.15 -if (!i--) { i = 1000000; printk("+"); }
    1.16 -}
    1.17   
    1.18      if (VMX_DOMAIN(current)){
    1.19  	vmx_load_all_rr(current);