diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2022-08-18 20:48:00 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-08-23 11:01:18 +0200 |
commit | 859f206290f345c151a6005de639ba9677bf3e18 (patch) | |
tree | 072f793fabc407cd60fa0bac9ec538279423a1c2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5d6da83c44af70ede7bfd0fd6d1ef8a3b3e0402c (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions