[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-5c0342ca7ef17220d8dd2da68d0d349c26ab19df@git.kernel.org>
Date: Thu, 16 Nov 2017 07:52:15 -0800
From: tip-bot for Claudio Scordino <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, corbet@....net, linux-kernel@...r.kernel.org,
mingo@...nel.org, peterz@...radead.org, mathieu.poirier@...aro.org,
torvalds@...ux-foundation.org, claudio@...dence.eu.com,
tommaso.cucinotta@...up.it, tglx@...utronix.de,
luca.abeni@...tannapisa.it, bristot@...hat.com
Subject: [tip:sched/urgent] sched/deadline: Fix the description of runtime
accounting in the documentation
Commit-ID: 5c0342ca7ef17220d8dd2da68d0d349c26ab19df
Gitweb: https://git.kernel.org/tip/5c0342ca7ef17220d8dd2da68d0d349c26ab19df
Author: Claudio Scordino <claudio@...dence.eu.com>
AuthorDate: Tue, 14 Nov 2017 12:19:26 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 16 Nov 2017 09:00:35 +0100
sched/deadline: Fix the description of runtime accounting in the documentation
Signed-off-by: Claudio Scordino <claudio@...dence.eu.com>
Signed-off-by: Luca Abeni <luca.abeni@...tannapisa.it>
Acked-by: Daniel Bristot de Oliveira <bristot@...hat.com>
Acked-by: Peter Zijlstra <peterz@...radead.org>
Cc: Jonathan Corbet <corbet@....net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mathieu Poirier <mathieu.poirier@...aro.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tommaso Cucinotta <tommaso.cucinotta@...up.it>
Cc: linux-doc@...r.kernel.org
Link: http://lkml.kernel.org/r/1510658366-28995-1-git-send-email-claudio@evidence.eu.com
Signed-off-by: Ingo Molnar <mingo@...nel.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
Powered by blists - more mailing lists