]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: fix SCHED_OTHER balance iterator to include all tasks
authorGregory Haskins <ghaskins@novell.com>
Mon, 12 May 2008 19:21:14 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:19:29 +0000 (15:19 +0200)
commit6d299f1b53b84e2665f402d9bcc494800aba6386
tree52d44fb6e2fe84f180c7e47a0faa5da48be6ab26
parent6e0534f278199f1e3dd1049b9bc19a7a5b87ada1
sched: fix SCHED_OTHER balance iterator to include all tasks

The currently logic inadvertently skips the last task on the run-queue,
resulting in missed balance opportunities.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: David Bahi <dbahi@novell.com>
CC: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_fair.c