path: root/kernel/sched/core.c
diff options
authorChris Redpath <chris.redpath@arm.com>2013-06-17 16:20:37 +0100
committerJon Medhurst <tixy@linaro.org>2013-07-17 11:32:30 +0100
commit6eada0087366d8aec6bc38348a68f721f538cc5c (patch)
treeb3dfc779d09d3f81f87a72fb4a14e73739824a42 /kernel/sched/core.c
parent954978dd2cff81cc15745b9e581a1709e238f8ef (diff)
sched: Restrict nohz balance kicks to stay in the HMP domain
There is little point in doing a nohz balance kick on a CPU from a different HMP domain, since the unset SD_LOAD_BALANCE flag on the CPU domain level prevents tasks from being balanced across clusters except through the per-task load driven hmp_migrate/hmp_offload paths. Further, the nohz balance kick is actively harmful to power usage if all the tasks fit into the little domain since it causes the big domain to wake up and do a lot of calculation to determine that there is nothing to do. A more generic solution is to walk the sched domain tree and determine the intersection of potential idle balance cpus with visibility of tasks on the current CPU, however HMP domains are more easily accessible. Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions