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

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

Merge "sched/walt: Improve the scheduler"

parents 64592257 4b31e871
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2988,7 +2988,8 @@ static inline enum sched_boost_policy task_boost_policy(struct task_struct *p)
		 * Filter out tasks less than min task util threshold
		 * Filter out tasks less than min task util threshold
		 * under conservative boost.
		 * under conservative boost.
		 */
		 */
		if (task_util(p) <= sched_task_filter_util)
		if (sched_boost() == CONSERVATIVE_BOOST &&
				task_util(p) <= sched_task_filter_util)
			policy = SCHED_BOOST_NONE;
			policy = SCHED_BOOST_NONE;
	}
	}