public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] sched/deadline: fix runtime accounting in documentation
@ 2017-11-14 11:19 Claudio Scordino
  2017-11-14 18:41 ` Mathieu Poirier
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Claudio Scordino @ 2017-11-14 11:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Claudio Scordino, Luca Abeni, Jonathan Corbet,
	Peter Zijlstra (Intel), Ingo Molnar, linux-doc, Tommaso Cucinotta,
	Mathieu Poirier

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>
CC: Jonathan Corbet <corbet@lwn.net>
CC: "Peter Zijlstra (Intel)" <peterz@infradead.org>
CC: Ingo Molnar <mingo@redhat.com>
CC: linux-doc@vger.kernel.org
Cc: Tommaso Cucinotta <tommaso.cucinotta@sssup.it>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
---
 Documentation/scheduler/sched-deadline.txt | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt
index e89e36e..8ce78f8 100644
--- a/Documentation/scheduler/sched-deadline.txt
+++ b/Documentation/scheduler/sched-deadline.txt
@@ -204,10 +204,17 @@ CONTENTS
  It does so by decrementing the runtime of the executing task Ti at a pace equal
  to
 
-           dq = -max{ Ui, (1 - Uinact) } dt
+           dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt
 
- where Uinact is the inactive utilization, computed as (this_bq - running_bw),
- and Ui is the bandwidth of task Ti.
+ where:
+
+  - Ui is the bandwidth of task Ti;
+  - Umax is the maximum reclaimable utilization (subjected to RT throttling
+    limits);
+  - Uinact is the (per runqueue) inactive utilization, computed as
+    (this_bq - running_bw);
+  - Uextra is the (per runqueue) extra reclaimable utilization
+    (subjected to RT throttling limits).
 
 
  Let's now see a trivial example of two deadline tasks with runtime equal
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-16 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14 11:19 [PATCH v2] sched/deadline: fix runtime accounting in documentation Claudio Scordino
2017-11-14 18:41 ` Mathieu Poirier
2017-11-15 10:34 ` Peter Zijlstra
2017-11-16  8:00   ` Ingo Molnar
2017-11-16 15:52 ` [tip:sched/urgent] sched/deadline: Fix the description of runtime accounting in the documentation tip-bot for Claudio Scordino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox