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

Commit 26d21534 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/walt: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: I7da1c3cff4fb9470a3904407f180463c26315e68
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 1bf0a890
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -4136,16 +4136,11 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
						TASK_BOOST_STRICT_MAX)
				vruntime -= sysctl_sched_latency;
#ifdef CONFIG_SCHED_WALT
			else if (unlikely(task_of(se)->low_latency)) {
			else if (task_of(se)->low_latency ||
					task_rtg_high_prio(task_of(se))) {
				vruntime -= sysctl_sched_latency;
				vruntime -= thresh;
				se->vruntime = min_vruntime(vruntime,
							se->vruntime);
				return;
			} else if (task_rtg_high_prio(task_of(se))) {
				vruntime -= thresh;
				se->vruntime = min_vruntime(vruntime,
							se->vruntime);
				se->vruntime = vruntime;
				return;
			}
#endif