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

Commit ef9b421b authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: walt: Improve the scheduler



This change is for general scheduler improvements.

Change-Id: I3e0f7593e10d9d854f1953b74e420f9d07b3180f
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 7d99db09
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -2224,10 +2224,9 @@ void mark_task_starting(struct task_struct *p)

#define pct_to_min_scaled(tunable) \
		div64_u64(((u64)sched_ravg_window * tunable *		\
			  cluster_max_freq(sched_cluster[0]) *	\
			  sched_cluster[0]->efficiency),	\
			  ((u64)max_possible_freq *		\
			  max_possible_efficiency * 100))
			 topology_get_cpu_scale(NULL,			\
			 cluster_first_cpu(sched_cluster[0]))),	\
			 ((u64)SCHED_CAPACITY_SCALE * 100))

static inline void walt_update_group_thresholds(void)
{