Re: [PATCH] sched/pelt: check that *_avg are null when *_sum are
From: Vincent Guittot
Date: Thu Jun 03 2021 - 08:48:05 EST
On Thu, 3 Jun 2021 at 13:06, Odin Ugedal <odin@xxxxxxx> wrote:
>
> Hi,
>
> Is there an idea to add tg_load_avg_contrib as well, to avoid
> regressions where that is not set to zero?
TBH I wondered while preparing this patch if tg_load_avg_contrib
should be checked as well but I came to the conclusion that we should
keep this looking at PELT metrics only. If tg_load_avg_contrib != 0
but load_avg ==0, it means that we failed to update
tg_load_avg_contrib somewhere else
>
> Otherwise:
>
> Acked-by: Odin Ugedal <odin@xxxxxxx>