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

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

sched: Improve the scheduler



This change is for general scheduler improvements.

Change-Id: If3a85c0d4aeb56e4b3493fa09bb295114edf2137
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 52c9eb46
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3558,6 +3558,9 @@ int walt_proc_group_thresholds_handler(struct ctl_table *table, int write,
	struct rq *rq = cpu_rq(cpumask_first(cpu_possible_mask));
	unsigned long flags;

	if (unlikely(num_sched_clusters <= 0))
		return -EPERM;

	mutex_lock(&mutex);
	ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
	if (ret || !write) {