[patch 2.6.16-mm2 0/9] sched throttle tree extract
From: Mike Galbraith
Date: Sat Apr 01 2006 - 03:25:11 EST
Greetings,
The following 9 patches is an extraction of my scheduler throttling tree
against 2.6.16-mm2. The patch below has already been applied, and is
only included such that anyone applying these patches to virgin source
will see no offsets.
-Mike
Signed-off-by: Mike Galbraith <efault@xxxxxx>
--- linux-2.6.16-mm2/kernel/sched.c.org 2006-03-31 09:56:37.000000000 +0200
+++ linux-2.6.16-mm2/kernel/sched.c 2006-03-31 13:32:40.000000000 +0200
@@ -820,7 +820,7 @@ static void __activate_task(task_t *p, r
{
prio_array_t *target = rq->active;
- if (unlikely(batch_task(p) || expired_starving(rq)))
+ if (unlikely(batch_task(p) || (expired_starving(rq) && !rt_task(p))))
target = rq->expired;
enqueue_task(p, target);
inc_nr_running(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/