]> Git Repo - linux.git/commit - kernel/sched_rt.c
sched: RT-balance, optimize
authorGregory Haskins <[email protected]>
Fri, 25 Jan 2008 20:08:13 +0000 (21:08 +0100)
committerIngo Molnar <[email protected]>
Fri, 25 Jan 2008 20:08:13 +0000 (21:08 +0100)
commit06f90dbd7610d51549004ea9c2ada337831eb292
tree952ce91bf158cee7fc3df0553496be524bc38b78
parent17b3279b48835eb522d842eae16f541da3729c8a
sched: RT-balance, optimize

We can cheaply track the number of bits set in the cpumask for the lowest
priority CPUs.  Therefore, compute the mask's weight and use it to skip
the optimal domain search logic when there is only one CPU available.

Signed-off-by: Gregory Haskins <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched_rt.c
This page took 0.055579 seconds and 4 git commands to generate.