Re: [PATCH v2] sched/fair: Correctly insert cfs_rq's to list on unthrottle
From: Odin Ugedal
Date: Thu Jun 03 2021 - 09:56:27 EST
> If it's only a matter of waiting other PELT patches to be merged, we
> should use cfs_rq_is_decayed().
ACK. will post a v3.
> if load_avg!=0, we will update it periodically and sync
> tg_load_avg_contrib with the former. So it's not a problem.
>
> The other way was a problem because we stop updating load_avg and
> tg_load_avg_contrib when load_avg/load_sum is null so the
> tg_load_avg_contrib is stalled with a possibly very old value
Yeah, that makes sense.
Thanks
Odin