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

Commit f983c082 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/walt: Improve the scheduler



This change is for general scheduler improvements.

Change-Id: I77e94fa82e06f60315bb48353819439bbc8b6f2e
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent e3e20132
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -632,7 +632,7 @@ cpu_util_freq_walt(int cpu, struct sched_walt_cpu_load *walt_load)
static inline void account_load_subtractions(struct rq *rq)
{
	u64 ws = rq->window_start;
	u64 prev_ws = ws - sched_ravg_window;
	u64 prev_ws = ws - rq->prev_window_size;
	struct load_subtractions *ls = rq->load_subs;
	int i;

@@ -707,7 +707,7 @@ void update_cluster_load_subtractions(struct task_struct *p,
{
	struct sched_cluster *cluster = cpu_cluster(cpu);
	struct cpumask cluster_cpus = cluster->cpus;
	u64 prev_ws = ws - sched_ravg_window;
	u64 prev_ws = ws - cpu_rq(cpu)->prev_window_size;
	int i;

	cpumask_clear_cpu(cpu, &cluster_cpus);