Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3aa7d290 authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched/walt: improve the scheduler



This change is for general scheduler improvement.

Change-Id: Ia2a8193da7fa3986e46711936c1acb9c0b3aa793
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent 7a0f735e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3192,6 +3192,7 @@ void walt_irq_work(struct irq_work *irq_work)
	int cpu;
	u64 wc;
	bool is_migration = false;
	u64 total_grp_load = 0;

	/* Am I the window rollover work or the migration work? */
	if (irq_work == &walt_migration_irq_work)
@@ -3218,11 +3219,13 @@ void walt_irq_work(struct irq_work *irq_work)
		}

		cluster->aggr_grp_load = aggr_grp_load;
		total_grp_load += aggr_grp_load;
		cluster->coloc_boost_load = 0;

		raw_spin_unlock(&cluster->load_lock);
	}

	if (total_grp_load)
		walt_update_coloc_boost_load();

	for_each_sched_cluster(cluster) {