sched: RT-balance, optimize cpu search
authorSteven Rostedt <srostedt@redhat.com>
Fri, 25 Jan 2008 20:08:13 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:13 +0000 (21:08 +0100)
commit610bf05645a7ac6ea104a474e328eeaaea148870
treefb0a1b2969e0cdfb466f362d0a3bd636b0ec5ba0
parent06f90dbd7610d51549004ea9c2ada337831eb292
sched: RT-balance, optimize cpu search

This patch removes several cpumask operations by keeping track
of the first of the CPUS that is of the lowest priority. When
the search for the lowest priority runqueue is completed, all
the bits up to the first CPU with the lowest priority runqueue
is cleared.

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