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

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

sched: walt: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: If7702cc7484fa74838f76c6e1406b568e6997d7d
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent abc0e9e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3127,7 +3127,7 @@ static inline bool is_min_capacity_cpu(int cpu) { return true; }
static inline int
preferred_cluster(struct sched_cluster *cluster, struct task_struct *p)
{
	return 1;
	return -1;
}

static inline struct sched_cluster *rq_cluster(struct rq *rq)
+1 −1
Original line number Diff line number Diff line
@@ -2554,7 +2554,7 @@ static struct sched_cluster *best_cluster(struct related_thread_group *grp,
int preferred_cluster(struct sched_cluster *cluster, struct task_struct *p)
{
	struct related_thread_group *grp;
	int rc = 1;
	int rc = -1;

	rcu_read_lock();