aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2008-01-25 21:08:13 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:13 +0100
commit06f90dbd7610d51549004ea9c2ada337831eb292 (patch)
tree952ce91bf158cee7fc3df0553496be524bc38b78 /kernel/timer.c
parentsched: break out early if RT task cannot be migrated (diff)
downloadlinux-dev-06f90dbd7610d51549004ea9c2ada337831eb292.tar.xz
linux-dev-06f90dbd7610d51549004ea9c2ada337831eb292.zip
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>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions