Re: [PATCH] sched/pelt: check that *_avg are null when *_sum are

From: Odin Ugedal
Date: Thu Jun 03 2021 - 10:34:32 EST


> 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

Ahh, that sounds good. Agree.

Thanks
Odin