sched: walt: Improve the scheduler

This change is for general scheduler improvements.

Change-Id: I325a7ae02d57260392029da240268d25f5823fe7
Signed-off-by: Abhijeet Dharmapurikar <[email protected]>
Signed-off-by: Satya Durga Srinivasu Prabhala <[email protected]>
This commit is contained in:
Abhijeet Dharmapurikar 2020-02-14 15:09:42 -08:00 • committed by Satya Durga Srinivasu Prabhala
commit 63466a3536
7 changed files with 12 additions and 55 deletions

View file

@ -20,6 +20,7 @@
#include <linux/percpu.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/sched.h>
DEFINE_PER_CPU(unsigned long, freq_scale) = SCHED_CAPACITY_SCALE;
DEFINE_PER_CPU(unsigned long, max_cpu_freq);
@ -219,6 +220,7 @@ init_cpu_capacity_callback(struct notifier_block *nb,
if (cpumask_empty(cpus_to_visit)) {
topology_normalize_cpu_scale();
walt_update_cluster_topology();
schedule_work(&update_topology_flags_work);
free_raw_capacity();
pr_debug("cpu_capacity: parsing done\n");