ia64/xen-unstable
changeset 2030:e231cd8ec652
bitkeeper revision 1.1108.33.29 (410e54c6Uum6oojWX_ZIyjKyPEgNPA)
Fix round-robin scheduler.
Fix round-robin scheduler.
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Mon Aug 02 14:50:46 2004 +0000 (2004-08-02) |
parents | 3b0ab2e570a0 |
children | b7e842452bff 88e84faa66c2 |
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:50:46 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