summaryrefslogtreecommitdiff
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorVineeth Pillai <vineeth@bitbyteword.org>2023-05-30 09:55:26 -0400
committerPeter Zijlstra <peterz@infradead.org>2023-06-16 22:08:12 +0200
commite20f204c88d595c04fc9197794bb68c0fbabd902 (patch)
tree6644f5678097f1248ccf560fe0bff6c0167fbe3f /Documentation/scheduler
parent6a9d623aad89539eca71eb264db6b9d538620ad5 (diff)
downloadlwn-e20f204c88d595c04fc9197794bb68c0fbabd902.tar.gz
lwn-e20f204c88d595c04fc9197794bb68c0fbabd902.zip
sched/deadline: Update GRUB description in the documentation
Update the details of GRUB to reflect the updated logic. Signed-off-by: Vineeth Pillai (Google) <vineeth@bitbyteword.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Daniel Bristot de Oliveira <bristot@kernel.org> Acked-by: Juri Lelli <juri.lelli@redhat.com> Link: https://lore.kernel.org/r/20230530135526.2385378-2-vineeth@bitbyteword.org
Diffstat (limited to 'Documentation/scheduler')
-rw-r--r--Documentation/scheduler/sched-deadline.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/scheduler/sched-deadline.rst b/Documentation/scheduler/sched-deadline.rst
index 9d9be52f221a..9fe4846079bb 100644
--- a/Documentation/scheduler/sched-deadline.rst
+++ b/Documentation/scheduler/sched-deadline.rst
@@ -203,12 +203,15 @@ Deadline Task Scheduling
- Total bandwidth (this_bw): this is the sum of all tasks "belonging" to the
runqueue, including the tasks in Inactive state.
+ - Maximum usable bandwidth (max_bw): This is the maximum bandwidth usable by
+ deadline tasks and is currently set to the RT capacity.
+
The algorithm reclaims the bandwidth of the tasks in Inactive state.
It does so by decrementing the runtime of the executing task Ti at a pace equal
to
- dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt
+ dq = -(max{ Ui, (Umax - Uinact - Uextra) } / Umax) dt
where: