OSDN Git Service

sched: Update capacity and load scale factor for all clusters at boot
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>
Sat, 21 Jan 2017 00:23:42 +0000 (16:23 -0800)
committerSyed Rameez Mustafa <rameezmustafa@codeaurora.org>
Sat, 21 Jan 2017 00:58:11 +0000 (16:58 -0800)
commit196069b1bc70fa2b8a714b86ca2c0168cb18b107
tree1af2cfd3590a126af3d69cecd13b78d2b631c335
parent74e7bd58a41c72e94474eed114eb58ae6362e735
sched: Update capacity and load scale factor for all clusters at boot

Cluster capacities should reflect differences in efficiency of
different clusters even in the absence of cpufreq. Currently
capacity is updated only when cpufreq policy notifier is received.
Therefore placement is suboptimal when cpufreq is turned off. Fix
this by updating capacities and load scaling factors during cluster
detection.

Change-Id: I47f63c1e374bbfd247a4302525afb37d55334bad
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
kernel/sched/hmp.c