sched/fair: call OPP update when going idle after migration
authorJuri Lelli <juri.lelli@arm.com>
Fri, 13 May 2016 10:54:04 +0000 (11:54 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:32:22 +0000 (15:02 +0530)
commitf6ea8bd5bd48bcd62258f855a88f80e6e112cee8
tree943a8f3ca36f77c661944d677965d091566d6bf8
parent09eb72059996637e0cc6db43ed76098d29f02eff
sched/fair: call OPP update when going idle after migration

When a task leaves a rq because it is migrated away it carries its
utilization with him. In this case and OPP update on the src rq might be
needed. The corresponding update at dst rq will happen at enqueue time.

Change-Id: I22754a43760fc8d22a488fe15044af93787ea7a8

sched/fair: Fix uninitialised variable in idle_balance

compiler warned, looks legit.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
kernel/sched/fair.c