summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2015-09-10 14:30:42 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:02:28 -0700
commit809ea3fd1e70d8f572249d90530b7c956b70f8d8 (patch)
tree4c5539993bf881ad36178ec4db5e098d70993981 /include
parent03a683a55c450e26f1ebde7400f64a4b7ecd68c2 (diff)
sched: Fix frequency change checks when affined tasks are migrating
On the 3.18 kernel version and beyond, when the affinity for an enqueued task changes such that migration is required, the rq variable gets updated to the destination rq. This means that check_for_freq_change() skips the source CPU frequency check and instead double checks the destination CPU. Fix this by using the src_cpu variable instead. Change-Id: I14727a34e22c50c9a839007d474802f96a2f49f6 Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> [joonwoop@codeaurora.org: fixed conflict int __migrate_task().] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions