commit | 06f90dbd7610d51549004ea9c2ada337831eb292 | [log] [tgz] |
---|---|---|
author | Gregory Haskins <ghaskins@novell.com> | Fri Jan 25 21:08:13 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 25 21:08:13 2008 +0100 |
tree | 952ce91bf158cee7fc3df0553496be524bc38b78 | |
parent | 17b3279b48835eb522d842eae16f541da3729c8a [diff] |
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 <ghaskins@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>