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

Commit 4b31e871 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

sched/walt: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: Ib3f4a8fe92a98e0ecddf9da47eccb78b6b3bed89
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 8ca6d749
Loading
Loading
Loading
Loading
+2 −1
Original line number 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
		 * 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;
	}