summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2014-12-10 13:22:11 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:01:16 -0700
commitd1b240ccc7317c502b8a051a7d94466de482f8a4 (patch)
treee38e57f1b9d39982280f3d163db7f6e9a965a849 /include/linux
parentb9c3d7384dc6df0697b0a4bbf0f1dfb855543e11 (diff)
sched: treat sync waker CPUs with 1 task as idle
When a CPU with one task performs a sync wakeup, its one task is expected to sleep immediately so this CPU should be treated as idle for the purposes of CPU selection for the waking task. This is only done when idle CPUs are the preferred targets for non-small task wakeups. When prefer_idle is 0, the CPU is left as non-idle in the selection logic so it is still a preferred candidate for the sync wakeup. Change-Id: I65c6535169293e8ba0c37fb5e88aec336338f7d7 Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions