ia64/xen-unstable

changeset 2032:c976688f4a88

bitkeeper revision 1.1108.51.1 (410e56764JGW-6_h19e6kyhYd7NhNQ)

Fix to RRobin scheduler (the compilation was not failing on mine due to different compilation flags)
author gm281@boulderdash.cl.cam.ac.uk
date Mon Aug 02 14:57:58 2004 +0000 (2004-08-02)
parents 3b0ab2e570a0
children 67defb498ac1
files xen/common/sched_rrobin.c
line diff
     1.1 --- a/xen/common/sched_rrobin.c	Mon Aug 02 14:20:27 2004 +0000
     1.2 +++ b/xen/common/sched_rrobin.c	Mon Aug 02 14:57:58 2004 +0000
     1.3 @@ -199,7 +199,7 @@ void rr_wake(struct domain *d)
     1.4  {
     1.5      unsigned long       flags;
     1.6      struct domain       *curr;
     1.7 -    s_time_t            now, min_time;
     1.8 +    s_time_t            now;
     1.9      int                 cpu = d->processor;
    1.10  
    1.11      spin_lock_irqsave(&run_locks[cpu], flags);
    1.12 @@ -222,8 +222,6 @@ void rr_wake(struct domain *d)
    1.13   
    1.14      if ( is_idle_task(curr) )
    1.15          cpu_raise_softirq(cpu, SCHEDULE_SOFTIRQ);
    1.16 -    else if ( schedule_data[cpu].s_timer.expires > (min_time + TIME_SLOP) )
    1.17 -        mod_ac_timer(&schedule_data[cpu].s_timer, min_time);
    1.18  }
    1.19  
    1.20