cpu_overutilized(rq->cpu))
rq->rd->overutilized = true;
- schedtune_enqueue_task(p, cpu_of(rq));
-
/*
* We want to potentially trigger a freq switch
* request only for tasks that are waking up; this is
if (task_new || task_wakeup)
update_capacity_of(cpu_of(rq));
}
+
+ /* Update SchedTune accouting */
+ schedtune_enqueue_task(p, cpu_of(rq));
+
#endif /* CONFIG_SMP */
hrtick_update(rq);
#ifdef CONFIG_SMP
if (!se) {
- schedtune_dequeue_task(p, cpu_of(rq));
/*
* We want to potentially trigger a freq switch
}
}
+ /* Update SchedTune accouting */
+ schedtune_dequeue_task(p, cpu_of(rq));
+
#endif /* CONFIG_SMP */
hrtick_update(rq);
* The target CPU can be already at a capacity level higher
* than the one required to boost the task.
*/
-
if (new_util > capacity_orig_of(i))
continue;