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

Commit 576d3a1d authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

sched/walt: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: Ia013a97bcb4abb4639a0ddcb2feea6135dc27dbf
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent f5dfbfac
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2581,7 +2581,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;
	}

@@ -3128,9 +3132,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;
}