|
|
Subscribe / Log in / New account

O20.2int

From:  Con Kolivas <kernel@kolivas.org>
To:  linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject:  [PATCH]O20.2int
Date:  Tue, 16 Sep 2003 09:46:06 +1000
Cc:  Andrew Morton <akpm@osdl.org>

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
--- linux-2.6.0-test5-mm2/kernel/sched.c	2003-09-16 09:25:58.000000000 +1000
+++ linux-2.6.0-test5-mm2-O20.2/kernel/sched.c	2003-09-16 09:27:57.000000000 +1000
@@ -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);


Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds