aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2022-08-18 20:48:05 +0800
committerPeter Zijlstra <[email protected]>2022-08-23 11:01:20 +0200
commite4fe074d6c359c19b74564fa1364fe48343cfa5d (patch)
tree1562bcdc259ba57547b325ef429c8308630b94f2 /tools/perf/scripts/python/task-analyzer.py
parentd6531ab6e50149ab2a144b0f4787cb9277d0893f (diff)
sched/fair: Don't init util/runnable_avg for !fair task
post_init_entity_util_avg() init task util_avg according to the cpu util_avg at the time of fork, which will decay when switched_to_fair() some time later, we'd better to not set them at all in the case of !fair task. Suggested-by: Vincent Guittot <[email protected]> Signed-off-by: Chengming Zhou <[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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions