[bootlin/training-materials updates] master: common: scheduling-classes: update info about priority (e1d4f007)

Luca Ceresoli luca.ceresoli at bootlin.com
Tue Sep 19 11:00:53 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/e1d4f007860b52d2d990f047d9cb21e7fa0f0028

>---------------------------------------------------------------

commit e1d4f007860b52d2d990f047d9cb21e7fa0f0028
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Tue Sep 19 11:00:53 2023 +0200

    common: scheduling-classes: update info about priority
    
    Priority 99 used to be problematic, it is not anymore with current
    kernels. Remove this old info.
    
    Move info about the priority to clarify it does not apply to
    SCHED_DEADLINE.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

e1d4f007860b52d2d990f047d9cb21e7fa0f0028
 common/scheduling-classes.tex | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/scheduling-classes.tex b/common/scheduling-classes.tex
index 5cfad02e..e5b88801 100644
--- a/common/scheduling-classes.tex
+++ b/common/scheduling-classes.tex
@@ -27,11 +27,10 @@
 	\frametitle{Realtime Scheduling Classes}
 	There are 3 \textbf{Realtime} classes
 	\begin{itemize}
-		\item Tasks under a Realtime class can be assigned a priority between 0 and 98
-		\item Priority 99 is \textbf{reserved} for critical housekeeping tasks
 		\item Runnable tasks will preempt any other lower-priority task
 		\item \ksym{SCHED_FIFO}: All tasks with the same priority are scheduled \textbf{First in, First out}
 		\item \ksym{SCHED_RR}: Similar to \ksym{SCHED_FIFO} but with a time-sharing round-robin between tasks with the same priority
+		\item Both \ksym{SCHED_FIFO} and \ksym{SCHED_RR} can be assigned a priority between 0 and 99
 		\item \ksym{SCHED_DEADLINE}: For tasks doing recurrent jobs, extra attributes are attached to a task
 			\begin{itemize}
 				\item A computation time, which represents the time the task needs to complete a job




More information about the training-materials-updates mailing list