Skip to content

Commit 5c0342c

Browse files
Claudio ScordinoIngo Molnar
authored andcommitted
sched/deadline: Fix the description of runtime accounting in the documentation
Signed-off-by: Claudio Scordino <[email protected]> Signed-off-by: Luca Abeni <[email protected]> Acked-by: Daniel Bristot de Oliveira <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tommaso Cucinotta <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent b29c6ef commit 5c0342c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Documentation/scheduler/sched-deadline.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,17 @@ CONTENTS
204204
It does so by decrementing the runtime of the executing task Ti at a pace equal
205205
to
206206

207-
dq = -max{ Ui, (1 - Uinact) } dt
207+
dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt
208208

209-
where Uinact is the inactive utilization, computed as (this_bq - running_bw),
210-
and Ui is the bandwidth of task Ti.
209+
where:
210+
211+
- Ui is the bandwidth of task Ti;
212+
- Umax is the maximum reclaimable utilization (subjected to RT throttling
213+
limits);
214+
- Uinact is the (per runqueue) inactive utilization, computed as
215+
(this_bq - running_bw);
216+
- Uextra is the (per runqueue) extra reclaimable utilization
217+
(subjected to RT throttling limits).
211218

212219

213220
Let's now see a trivial example of two deadline tasks with runtime equal

0 commit comments

Comments
 (0)