[bootlin/training-materials updates] master: common/scheduling-classes.tex: misc improvements (dcbe54fb)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Nov 28 14:32:40 CET 2022

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


commit dcbe54fbccfa70d2fbf0ad727e7a86ba05ac0991
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Nov 28 14:31:37 2022 +0100

    common/scheduling-classes.tex: misc improvements
    - Elixir link for SCHED_FIFO
    - chrt supports "-d" for SCHED_DEADLINE (except in BusyBox chrt)
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 common/scheduling-classes.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/scheduling-classes.tex b/common/scheduling-classes.tex
index 597ec1ac..76e6bba8 100644
--- a/common/scheduling-classes.tex
+++ b/common/scheduling-classes.tex
@@ -31,7 +31,7 @@
 		\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 SCHED\_FIFO but with a time-sharing round-robin between tasks with the same priority
+		\item \ksym{SCHED_RR} : Similar to \ksym{SCHED_FIFO} but with a time-sharing round-robin between tasks with the same priority
 		\item \ksym{SCHED_DEADLINE} : For tasks doing recurrent jobs, extra attributes are attached to a task
 				\item A computation time, which represents the time the task needs to complete a job
@@ -48,11 +48,11 @@
 		\item The \code{sched_setscheduler} syscall allows changing the class of a task
 		\item The tool \code{chrt} uses it to allow changing the class of a running task :
-				\item \code{chrt -f/-b/-o/-r -p PRIO PID}
+				\item \code{chrt -f/-b/-o/-r/-d -p PRIO PID}
 		\item It can also be used to launch a new program with a dedicated class :
-				\item \code{chrt -f/-b/-o/-r PRIO CMD}
+				\item \code{chrt -f/-b/-o/-r/-d PRIO CMD}
 		\item New processes will inherit the class of their parent except if the \ksym{SCHED_RESET_ON_FORK} flag is set with \code{sched_setscheduler}
 		\item See \manpage{sched}{7} for more information

More information about the training-materials-updates mailing list