Re: [PATCH sched_ext/for-6.12] sched: Move update_other_load_avgs() to kernel/sched/pelt.c

From: Tejun Heo
Date: Thu Sep 12 2024 - 02:00:51 EST


On Wed, Sep 11, 2024 at 09:36:43AM -1000, Tejun Heo wrote:
> 96fd6c65efc6 ("sched: Factor out update_other_load_avgs() from
> __update_blocked_others()") added update_other_load_avgs() in
> kernel/sched/syscalls.c right above effective_cpu_util(). This location
> didn't fit that well in the first place, and with 5d871a63997f ("sched/fair:
> Move effective_cpu_util() and effective_cpu_util() in fair.c") moving
> effective_cpu_util() to kernel/sched/fair.c, it looks even more out of
> place.
>
> Relocate the function to kernel/sched/pelt.c where all its callees are.
>
> No functional changes.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>

Applied to sched_ext/for-6.12.

Thanks.

--
tejun