Commit 803085fb authored by Vincent Guittot's avatar Vincent Guittot Committed by Carlos Llamas
Browse files

BACKPORT: sched/fair: Simplify util_est



With UTIL_EST_FASTUP now being permanent, we can take advantage of the
fact that the ewma jumps directly to a higher utilization at dequeue to
simplify util_est and remove the enqueued field.

(cherry picked from commit 11137d38)
[davidai@google.com: fixed minor conflict in kernel/sched/fair.c]
Change-Id: Iba2104069807b47fabb90c04b04aebc5d116b047
Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Tested-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Reviewed-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Reviewed-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Reviewed-by: default avatarHongyan Xia <hongyan.xia2@arm.com>
Reviewed-by: default avatarAlex Shi <alexs@kernel.org>
Link: https://lore.kernel.org/r/20231201161652.1241695-3-vincent.guittot@linaro.org


Signed-off-by: default avatarDavid Dai <davidai@google.com>
parent f80f1dd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment