diff options
author | 2022-08-18 20:48:00 +0800 | |
---|---|---|
committer | 2022-08-23 11:01:18 +0200 | |
commit | 859f206290f345c151a6005de639ba9677bf3e18 (patch) | |
tree | 072f793fabc407cd60fa0bac9ec538279423a1c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched/fair: Reset sched_avg last_update_time before set_task_rq() (diff) | |
download | linux-dev-859f206290f345c151a6005de639ba9677bf3e18.tar.xz linux-dev-859f206290f345c151a6005de639ba9677bf3e18.zip |
sched/fair: Update comments in enqueue/dequeue_entity()
When reading the sched_avg related code, I found the comments in
enqueue/dequeue_entity() are not updated with the current code.
We don't add/subtract entity's runnable_avg from cfs_rq->runnable_avg
during enqueue/dequeue_entity(), those are done only for attach/detach.
This patch updates the comments to reflect the current code working.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20220818124805.601-5-zhouchengming@bytedance.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions