Skip to content
Commit 351a3b30 authored by Pierre Gondois's avatar Pierre Gondois
Browse files

sched/fair: Remove check against



Checking that util_avg at dequeue is lower than the current CPU's max
capacity comes after the check that util_est is lower than
If util_est is lower than current util_avg at dequeue, util_est is
updated with the util_avg value. Otherwise if util_avg at dequeue is
checked against current CPU's max capacity.

In this order, if the util_avg at dequeue is higher than current CPU's max
capacity, util_est is updated.
Remove the check as the case is not possible.

The initial change was introduced by:
commit b8c96361 ("sched/fair/util_est: Implement faster ramp-up EWMA on utilization increases")

Signed-off-by: Pierre Gondois's avatarPierre Gondois <pierre.gondois@arm.com>
parent ffd294d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment