Re: [PATCH v2 06/10] sched/fair: delete superfluous SKIP_AGE_LOAD

From: Dietmar Eggemann
Date: Thu Jul 14 2022 - 08:33:14 EST


On 13/07/2022 06:04, Chengming Zhou wrote:
> There are three types of attach_entity_cfs_rq():
>
> 1. task migrate to CPU
> 2. task move to cgroup
> 3. task switched to fair from !fair
>
> The case1 and case2 already have sched_avg last_update_time
> reset to 0 when attach_entity_cfs_rq().
>
> We will make case3 also have last_update_time reset to 0 when
> attach_entity_cfs_rq() in the following patches.
>
> So it makes no difference whether SKIP_AGE_LOAD is set or not.

Wouldn't this patch make more sense after 09/10?

[...]