lkml.org 
[lkml]   [2003]   [Dec]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 1 Dec 2003 11:08:17 +0100 (CET)
FromIngo Molnar <>
Subject[patch] sched-HT-2.6.0-test11-A5
On Sun, 23 Nov 2003, Martin J. Bligh wrote:

> > have you seen my HT scheduler patches, in particular the HT scheduler
> > in Fedora Core 1, which is on top of a pretty recent 2.6 scheduler? Works
> > pretty well.
> 
> Do you have a pointer to an updated patch? I haven't seen a version of
> that for a while, and would like to play with it.

i've uploaded the HT scheduler patch against 2.6.0-test11 to:

    redhat.com/~mingo/O(1)-scheduler/sched-HT-2.6.0-test11-A5

note, the patch includes a fix to sync wakeups, which might hurt lat_ctx.  
I've attached the fix against vanilla 2.6.0-test11 as well.

	Ingo

--- linux/kernel/sched.c.orig	
+++ linux/kernel/sched.c	
@@ -646,7 +646,7 @@ repeat_lock_task:
 				 */
 				p->activated = -1;
 			}
-			if (sync)
+			if (sync && (task_cpu(p) == smp_processor_id()))
 				__activate_task(p, rq);
 			else {
 				activate_task(p, rq);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008