[patch] sched-HT-2.6.0-test11-A5

From: Ingo Molnar
Date: Mon Dec 01 2003 - 05:12:29 EST

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:


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.


--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/