[PATCH v4 20/20] balance RT tasks no new wake up

From: Steven Rostedt
Date: Tue Nov 20 2007 - 20:16:53 EST


Run the RT balancing code on wake up to an RT task.

Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>

---
kernel/sched.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-compile.git/kernel/sched.c
===================================================================
--- linux-compile.git.orig/kernel/sched.c 2007-11-20 19:53:10.000000000 -0500
+++ linux-compile.git/kernel/sched.c 2007-11-20 19:53:18.000000000 -0500
@@ -1650,6 +1650,7 @@ void fastcall wake_up_new_task(struct ta
inc_nr_running(p, rq);
}
check_preempt_curr(rq, p);
+ wakeup_balance_rt(rq, p);
task_rq_unlock(rq, &flags);
}


--
-
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/