Skip to content

Commit 5c0342c

Browse files
Claudio Scordinoingomolnar
authored andcommitted
sched/deadline: Fix the description of runtime accounting in the documentation
Signed-off-by: Claudio Scordino <claudio@evidence.eu.com> Signed-off-by: Luca Abeni <luca.abeni@santannapisa.it> Acked-by: Daniel Bristot de Oliveira <bristot@redhat.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tommaso Cucinotta <tommaso.cucinotta@sssup.it> Cc: linux-doc@vger.kernel.org Link: http://lkml.kernel.org/r/1510658366-28995-1-git-send-email-claudio@evidence.eu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent b29c6ef commit 5c0342c

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎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)