Skip to content

Commit d6c2181

Browse files
committed
sched/eevdf: Correct the comment in place_entity
JIRA: https://issues.redhat.com/browse/RHEL-110301 commit b01f2d9 Author: wang wei <a929244872@163.com> Date: Thu Jun 5 23:29:31 2025 +0800 sched/eevdf: Correct the comment in place_entity Correct "l" to "vl_i". Signed-off-by: wang wei <a929244872@163.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20250605152931.22804-1-a929244872@163.com Signed-off-by: Phil Auld <pauld@redhat.com>
1 parent a091a34 commit d6c2181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5169,7 +5169,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)
51695169
* V' = (\Sum w_j*v_j + w_i*v_i) / (W + w_i)
51705170
* = (W*V + w_i*(V - vl_i)) / (W + w_i)
51715171
* = (W*V + w_i*V - w_i*vl_i) / (W + w_i)
5172-
* = (V*(W + w_i) - w_i*l) / (W + w_i)
5172+
* = (V*(W + w_i) - w_i*vl_i) / (W + w_i)
51735173
* = V - w_i*vl_i / (W + w_i)
51745174
*
51755175
* And the actual lag after adding an entity with vl_i is:

0 commit comments

Comments
 (0)