mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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
This commit is contained in:
parent
3d7e10188a
commit
b01f2d9597
|
|
@ -5253,7 +5253,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)
|
|||
* V' = (\Sum w_j*v_j + w_i*v_i) / (W + w_i)
|
||||
* = (W*V + w_i*(V - vl_i)) / (W + w_i)
|
||||
* = (W*V + w_i*V - w_i*vl_i) / (W + w_i)
|
||||
* = (V*(W + w_i) - w_i*l) / (W + w_i)
|
||||
* = (V*(W + w_i) - w_i*vl_i) / (W + w_i)
|
||||
* = V - w_i*vl_i / (W + w_i)
|
||||
*
|
||||
* And the actual lag after adding an entity with vl_i is:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user