From: Gregory Haskins Date: Fri, 25 Jan 2008 20:08:13 +0000 (+0100) Subject: sched: RT-balance, optimize X-Git-Tag: v2.6.25-rc1~1237^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f90dbd7610d51549004ea9c2ada337831eb292;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed