sched_setattr.2: Minor tweaks to Claudio Scordino's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-27 14:37:56 +02:00
parent 87b4fd4b0c
commit c7456cdd92
1 changed files with 19 additions and 13 deletions

View File

@ -150,27 +150,33 @@ This field specifies the scheduling policy, as one of the
values listed above.
.TP
.I sched_flags
This field contains flags controlling the scheduling behavior.
.IP
.BR SCHED_FLAG_RESET_ON_FORK :
children created by
This field contains contains zero or more of the following flags
that are ORed together to control scheduling behavior:
.RS
.TP
.BR SCHED_FLAG_RESET_ON_FORK
Children created by
.BR fork (2)
do not inherit privileged scheduling policies.
See
.BR sched (7)
for details.
.IP
.BR SCHED_FLAG_RECLAIM :
allows a
.TP
.BR SCHED_FLAG_RECLAIM " (since Linux 4.13)"
.\" 2d4283e9d583a3ee8cfb1cbb9c1270614df4c29d
This flag allows a
.BR SCHED_DEADLINE
task to reclaim bandwidth unused by other real-time tasks through the GRUB
algorithm. Available since kernel 4.13.
.IP
.BR SCHED_FLAG_DL_OVERRUN :
allows a
algorithm.
.TP
.BR SCHED_FLAG_DL_OVERRUN " (since Linux 4.16)"
.\" commit 34be39305a77b8b1ec9f279163c7cdb6cc719b91
This flag allows a
.BR SCHED_DEADLINE
task to get informed about runtime overruns through the delivery of SIGXCPU
signals. Available since kernel 4.16.
task to get informed about run-time overruns through the delivery of
.B SIGXCPU
signals.
.RE
.TP
.I sched_nice
This field specifies the nice value to be set when specifying