perf: Better order flexible and pinned scheduling
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 17 Jan 2010 11:56:05 +0000 (12:56 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 17 Jan 2010 12:11:05 +0000 (13:11 +0100)
When a task gets scheduled in. We don't touch the cpu bound events
so the priority order becomes:

cpu pinned, cpu flexible, task pinned, task flexible.

So schedule out cpu flexibles when a new task context gets in
and correctly order the groups to schedule in:

task pinned, cpu flexible, task flexible.

Cpu pinned groups don't need to be touched at this time.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>

No differences found