summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2014-12-22 17:15:25 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:01:27 -0700
commit61add5eb963fbfe57c9c46e182295f2034cf2ad3 (patch)
treeacd006aaba0cb0bf957c45b17dea105394345a4f /kernel/stacktrace.c
parent5b45dc56e548280bd2a29ed7caf7fac8ad5a0c93 (diff)
sched: add preference for prev_cpu in HMP task placement
At present the HMP task placement algorithm scans CPUs in numerical order and if two identical options are found, the first one encountered is chosen, even if it is different from the task's previous CPU. Add a bias towards the task's previous CPU in such situations. Any time two or more CPUs are considered equivalent (load, C-state, power cost), if one of them is the task's previous CPU, bias towards that CPU. The algorithm is otherwise unchanged. CRs-Fixed: 772033 Change-Id: I511f5b929c2bfa6fdea9e7433893c27b29ed8026 Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions