diff options
| author | Chengming Zhou <[email protected]> | 2022-08-18 12:48:00 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-08-23 09:01:18 +0000 |
| commit | 859f206290f345c151a6005de639ba9677bf3e18 (patch) | |
| tree | 072f793fabc407cd60fa0bac9ec538279423a1c2 /net/unix/af_unix.c | |
| parent | sched/fair: Reset sched_avg last_update_time before set_task_rq() (diff) | |
| download | kernel-859f206290f345c151a6005de639ba9677bf3e18.tar.gz kernel-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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
