Skip to contentSkip to conversation

O20.3int

PATCH New Con Kolivas 1 participant 1 message Sep 16, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 O20.3int

Yep I really hate doing this, sorry. This is what I was supposed to do in O20.2int.

applies to O20.2int

Con

kernel/sched.c +2 -2
@@ -1426,11 +1426,11 @@ void scheduler_tick(int user_ticks, int 
 		 * equal priority.
 		 *
 		 * This only applies to tasks in the interactive
-		 * delta range with at least MIN_TIMESLICE to requeue.
+		 * delta range with at least TIMESLICE_GRANULARITY to requeue.
 		 */
 		if (TASK_INTERACTIVE(p) && !((task_timeslice(p) -
 			p->time_slice) % TIMESLICE_GRANULARITY(p)) &&
-			(p->time_slice >= MIN_TIMESLICE) &&
+			(p->time_slice >= TIMESLICE_GRANULARITY(p)) &&
 			(p->array == rq->active)) {
 
 			dequeue_task(p, rq->active);