aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDietmar Eggemann <[email protected]>2021-06-01 10:36:16 +0200
committerPeter Zijlstra <[email protected]>2021-06-17 14:11:42 +0200
commit83c5e9d573e1f0757f324d01adb6ee77b49c3f0e (patch)
tree8626b42b1790e2a912c6986cfa3832e4b7da0f7f /scripts/gdb/linux/tasks.py
parent9e077b52d86ac364a295b05c916c7478a16865b2 (diff)
sched/fair: Return early from update_tg_cfs_load() if delta == 0
In case the _avg delta is 0 there is no need to update se's _avg (level n) nor cfs_rq's _avg (level n-1). These values stay the same. Since cfs_rq's _avg isn't changed, i.e. no load is propagated down, cfs_rq's _sum should stay the same as well. So bail out after se's _sum has been updated. Signed-off-by: Dietmar Eggemann <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions