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:Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by:
Ingo Molnar <mingo@kernel.org> Tested-by:
Lukasz Luba <lukasz.luba@arm.com> Reviewed-by:
Lukasz Luba <lukasz.luba@arm.com> Reviewed-by:
Dietmar Eggemann <dietmar.eggemann@arm.com> Reviewed-by:
Hongyan Xia <hongyan.xia2@arm.com> Reviewed-by:
Alex Shi <alexs@kernel.org> Link: https://lore.kernel.org/r/20231201161652.1241695-3-vincent.guittot@linaro.org Signed-off-by:
David Dai <davidai@google.com>
Loading
Please sign in to comment