[bootlin/training-materials updates] master: slides: scheduling-classes: add manpage for sched_setscheduler() (24691620)
Clément Léger
clement.leger at bootlin.com
Tue Mar 21 09:35:55 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/24691620341f39e429c5213c491fd32a1ccdccef
>---------------------------------------------------------------
commit 24691620341f39e429c5213c491fd32a1ccdccef
Author: Clément Léger <clement.leger at bootlin.com>
Date: Tue Mar 21 09:35:55 2023 +0100
slides: scheduling-classes: add manpage for sched_setscheduler()
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
24691620341f39e429c5213c491fd32a1ccdccef
common/scheduling-classes.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/scheduling-classes.tex b/common/scheduling-classes.tex
index 9c229f06..8bf1a4c1 100644
--- a/common/scheduling-classes.tex
+++ b/common/scheduling-classes.tex
@@ -45,7 +45,7 @@
\frametitle{Changing the Scheduling Class}
\begin{itemize}
\item The Scheduling Class is set per-task, and defaults to \code{SCHED_OTHER}
- \item The \code{sched_setscheduler} syscall allows changing the class of a task
+ \item The \manpage{sched_setscheduler}{2} syscall allows changing the class of a task
\item The tool \code{chrt} uses it to allow changing the class of a running task :
\begin{itemize}
\item \code{chrt -f/-b/-o/-r/-d -p PRIO PID}
@@ -54,7 +54,7 @@
\begin{itemize}
\item \code{chrt -f/-b/-o/-r/-d PRIO CMD}
\end{itemize}
- \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 New processes will inherit the class of their parent except if the \ksym{SCHED_RESET_ON_FORK} flag is set with \manpage{sched_setscheduler}{2}
\item See \manpage{sched}{7} for more information
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list