diff options
| author | Tejun Heo <[email protected]> | 2024-06-18 10:09:17 -1000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-06-18 10:09:17 -1000 |
| commit | 96fd6c65efc652e9054163e6d3cf254b9e5b93d2 (patch) | |
| tree | 346505c73845fcba709e3f2b1e8212e86d7cea62 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4f9c7ca851044273df5d67e00ca0b4d0476a48f6 (diff) | |
sched: Factor out update_other_load_avgs() from __update_blocked_others()
RT, DL, thermal and irq load and utilization metrics need to be decayed and
updated periodically and before consumption to keep the numbers reasonable.
This is currently done from __update_blocked_others() as a part of the fair
class load balance path. Let's factor it out to update_other_load_avgs().
Pure refactor. No functional changes.
This will be used by the new BPF extensible scheduling class to ensure that
the above metrics are properly maintained.
v2: Refreshed on top of tip:sched/core.
Signed-off-by: Tejun Heo <[email protected]>
Reviewed-by: David Vernet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions