summaryrefslogtreecommitdiff
path: root/kernel/sched/debug.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-03-31 12:11:12 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:59:06 -0700
commit06a5fb422d821bf0d72b6a944fe4ad4930149682 (patch)
tree88375ffeddb7eacd8f6ebba5ffa5b946bdf019cc /kernel/sched/debug.c
parent45acc2457b618c0ab056f708fb8ee030e44015dc (diff)
sched: Handle cpu-bound tasks stuck on wrong cpu
CPU-bound tasks that don't sleep for long intervals can stay stuck on the wrong cpu, as the selection of "ideal" cpu for tasks largely happens during task wakeup time. This patch adds a check in the scheduler tick for task/cpu mismatch (big task on little cpu OR little task on big cpu) and forces migration of such tasks to their ideal cpu (via select_best_cpu()). Change-Id: Icac3485b6aa4b558c4ed9df23c2e81fb8f4bb9d9 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions