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

Commit fc59d530 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/walt: improve the scheduler"

parents 065f6bd4 3aa7d290
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) {