]> err.no Git - linux-2.6/commit
sched: pull RT tasks from overloaded runqueues
authorSteven Rostedt <srostedt@redhat.com>
Fri, 25 Jan 2008 20:08:07 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:07 +0000 (21:08 +0100)
commitf65eda4f789168ba5ff3fa75546c29efeed19f58
tree235e6daad2bc37b22cc5b21907608c79f944f036
parent4fd29176b7cd24909f8ceba2105cb3ae2857b90c
sched: pull RT tasks from overloaded runqueues

This patch adds the algorithm to pull tasks from RT overloaded runqueues.

When a pull RT is initiated, all overloaded runqueues are examined for
a RT task that is higher in prio than the highest prio task queued on the
target runqueue. If another runqueue holds a RT task that is of higher
prio than the highest prio task on the target runqueue is found it is pulled
to the target runqueue.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_rt.c