Sched: Improve the scheduler
This change is for general scheduler improvements. Change-Id: I78a13f15f7b95d7b6583222fbc68b828e651b802 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
parent
b4f4115eae
commit
3282382a54
@ -3813,12 +3813,12 @@ int walt_proc_user_hint_handler(struct ctl_table *table,
|
|||||||
|
|
||||||
mutex_lock(&mutex);
|
mutex_lock(&mutex);
|
||||||
|
|
||||||
sched_user_hint_reset_time = jiffies + HZ;
|
|
||||||
old_value = sysctl_sched_user_hint;
|
old_value = sysctl_sched_user_hint;
|
||||||
ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
|
ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
|
||||||
if (ret || !write || (old_value == sysctl_sched_user_hint))
|
if (ret || !write || (old_value == sysctl_sched_user_hint))
|
||||||
goto unlock;
|
goto unlock;
|
||||||
|
|
||||||
|
sched_user_hint_reset_time = jiffies + HZ;
|
||||||
walt_irq_work_queue(&walt_migration_irq_work);
|
walt_irq_work_queue(&walt_migration_irq_work);
|
||||||
|
|
||||||
unlock:
|
unlock:
|
||||||
|
Loading…
Reference in New Issue
Block a user