Skip to contentSkip to conversation

O20.2int

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 O20.2int

Not sure why I made this incorrect change in the first place, but it would hardly be noticable except in latency tests. This patch reverts it.

Patch applies to 2.6.0-test5-mm2 or an O20.1int patched kernel. Diffs available here:

http://ck.kolivas.org/patches

Con

kernel/sched.c +1 -1
@@ -1430,7 +1430,7 @@ void scheduler_tick(int user_ticks, int 
 		 */
 		if (TASK_INTERACTIVE(p) && !((task_timeslice(p) -
 			p->time_slice) % TIMESLICE_GRANULARITY(p)) &&
-			(p->time_slice >= (MIN_TIMESLICE * 2)) &&
+			(p->time_slice >= MIN_TIMESLICE) &&
 			(p->array == rq->active)) {
 
 			dequeue_task(p, rq->active);