diff options
| author | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2017-01-20 16:23:42 -0800 |
|---|---|---|
| committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2017-01-20 16:58:11 -0800 |
| commit | 196069b1bc70fa2b8a714b86ca2c0168cb18b107 (patch) | |
| tree | 1af2cfd3590a126af3d69cecd13b78d2b631c335 /kernel/sched/hmp.c | |
| parent | 74e7bd58a41c72e94474eed114eb58ae6362e735 (diff) | |
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>
Diffstat (limited to 'kernel/sched/hmp.c')
| -rw-r--r-- | kernel/sched/hmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/hmp.c b/kernel/sched/hmp.c index 40df4f8f1de0..95125c5518e2 100644 --- a/kernel/sched/hmp.c +++ b/kernel/sched/hmp.c @@ -590,6 +590,7 @@ void update_cluster_topology(void) * cluster_head visible. */ move_list(&cluster_head, &new_head, false); + update_all_clusters_stats(); } void init_clusters(void) |
