sched: walt: Improve the Scheduler

This change is for general scheduler improvement.

Change-Id: I78a13f15f7b95d7b6583222fbc68b828e651b802
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
Shaleen Agrawal 2021-09-13 09:49:46 -07:00 committed by Rishabh Bhatnagar
parent 00c0dd9fc1
commit d61bdd0b0f

View File

@ -112,12 +112,12 @@ static int walt_proc_user_hint_handler(struct ctl_table *table,
mutex_lock(&mutex);
sched_user_hint_reset_time = jiffies + HZ;
old_value = sysctl_sched_user_hint;
ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
if (ret || !write || (old_value == sysctl_sched_user_hint))
goto unlock;
sched_user_hint_reset_time = jiffies + HZ;
walt_irq_work_queue(&walt_migration_irq_work);
unlock: