Skip to content

sched throttle tree extract

Mike Galbraith lkml 1 version In review

Get series with b4
b4 am 1143880124.7617.5.camel@homer

Versions newest first

  1. v1 Latest0 of 9 patches 15 repliesIn review

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 2.6.16-mm2 0/9] sched throttle tree extract

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

kernel/sched.c renamed from kernel/sched.c.org +1 -1
@@ -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);