• Tejun Heo's avatar
    sched: Move update_other_load_avgs() to kernel/sched/pelt.c · 902d67a2
    Tejun Heo authored
    96fd6c65 ("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 5d871a63 ("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: default avatarTejun Heo <tj@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    902d67a2
pelt.h 6.02 KB