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

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

Merge "sched/walt: Improve the scheduler"

parents 9c4107fd 576d3a1d
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2585,7 +2585,11 @@ void update_best_cluster(struct related_thread_group *grp,
				   u64 demand, bool boost)
{
	if (boost) {
		grp->skip_min = true;
		/*
		 * since we are in boost, we can keep grp on min, the boosts
		 * will ensure tasks get to bigs
		 */
		grp->skip_min = false;
		return;
	}

@@ -3132,9 +3136,6 @@ static bool is_rtgb_active(void)
{
	struct related_thread_group *grp;

	if (sched_boost() == CONSERVATIVE_BOOST)
		return false;

	grp = lookup_related_thread_group(DEFAULT_CGROUP_COLOC_ID);
	return grp && grp->skip_min;
}