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>
This commit is contained in:
parent
74e7bd58a4
commit
196069b1bc
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue