[tip: sched/core] sched/deadline: Update GRUB description in the documentation

From: tip-bot2 for Vineeth Pillai
Date: Mon Jun 19 2023 - 07:06:18 EST


The following commit has been merged into the sched/core branch of tip:

Commit-ID: e20f204c88d595c04fc9197794bb68c0fbabd902
Gitweb: https://git.kernel.org/tip/e20f204c88d595c04fc9197794bb68c0fbabd902
Author: Vineeth Pillai <vineeth@xxxxxxxxxxxxxxx>
AuthorDate: Tue, 30 May 2023 09:55:26 -04:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Fri, 16 Jun 2023 22:08:12 +02:00

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@xxxxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
Acked-by: Juri Lelli <juri.lelli@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230530135526.2385378-2-vineeth@xxxxxxxxxxxxxxx
---
Documentation/scheduler/sched-deadline.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/scheduler/sched-deadline.rst b/Documentation/scheduler/sched-deadline.rst
index 9d9be52..9fe4846 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: