chrt: (man) add human-readable names for policies

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-10-01 11:04:29 +02:00
parent 240634f80c
commit fb4f1da4e0
1 changed files with 9 additions and 14 deletions

View File

@ -41,34 +41,29 @@ or runs \fIcommand\fR with the given attributes.
.SH POLICIES .SH POLICIES
.TP .TP
\fB\-o\fR, \fB\-\-other\fR \fB\-o\fR, \fB\-\-other\fR
Set scheduling policy to Set scheduling policy to \fBSCHED_OTHER\fR (time-sharing scheduling).
.BR SCHED_OTHER .
This is the default Linux scheduling policy. This is the default Linux scheduling policy.
.TP .TP
\fB\-f\fR, \fB\-\-fifo\fR \fB\-f\fR, \fB\-\-fifo\fR
Set scheduling policy to \fBSCHED_FIFO\fR. Set scheduling policy to \fBSCHED_FIFO\fR (first in-first out).
.TP .TP
\fB\-r\fR, \fB\-\-rr\fR \fB\-r\fR, \fB\-\-rr\fR
Set scheduling policy to Set scheduling policy to \fBSCHED_RR\fR (round-robin scheduling).
.BR SCHED_RR .
When no policy is defined, the When no policy is defined, the
.B SCHED_RR .B SCHED_RR
is used as the default. is used as the default.
.TP .TP
\fB\-b\fR, \fB\-\-batch\fR \fB\-b\fR, \fB\-\-batch\fR
Set scheduling policy to Set scheduling policy to \fBSCHED_BATCH\fR (scheduling batch processes).
.B SCHED_BATCH Linux-specific, supported since 2.6.16. The priority argument has to be set to zero.
(Linux-specific, supported since 2.6.16). The priority argument has to be set to zero.
.TP .TP
\fB\-i\fR, \fB\-\-idle\fR \fB\-i\fR, \fB\-\-idle\fR
Set scheduling policy to Set scheduling policy to \fBSCHED_IDLE\fR (scheduling very low priority jobs).
.B SCHED_IDLE Linux-specific, supported since 2.6.23. The priority argument has to be set to zero.
(Linux-specific, supported since 2.6.23). The priority argument has to be set to zero.
.TP .TP
.BR \-d ,\ \-\-deadline .BR \-d ,\ \-\-deadline
Set scheduling policy to Set scheduling policy to \fBSCHED_DEADLINE\fR (sporadic task model deadline scheduling).
.B SCHED_DEADLINE Linux-specific, supported since 3.14. The priority argument has to be set to zero.
(Linux-specific, supported since 3.14). The priority argument has to be set to zero.
See also \fB\-\-sched\-runtime\fR, \fB\-\-sched\-deadline\fR and See also \fB\-\-sched\-runtime\fR, \fB\-\-sched\-deadline\fR and
\fB\-\-sched\-period\fR. The relation between the options required by the kernel is \fB\-\-sched\-period\fR. The relation between the options required by the kernel is
runtime <= deadline <= period. runtime <= deadline <= period.