sched_setattr.2: Document SCHED_FLAG_DL_OVERRUN and SCHED_FLAG_RECLAIM

This patch documents two additional flags recently introduced
for the attr.sched_flags field of sched_setattr().

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Claudio Scordino 2018-04-18 11:39:29 +02:00 committed by Michael Kerrisk
parent b628f896e5
commit 87b4fd4b0c
1 changed files with 16 additions and 4 deletions

View File

@ -150,15 +150,27 @@ This field specifies the scheduling policy, as one of the
values listed above.
.TP
.I sched_flags
This field contains flags controlling scheduling behavior.
Only one such flag is currently defined:
.BR SCHED_FLAG_RESET_ON_FORK .
As a result of including this flag, children created by
This field contains flags controlling the scheduling behavior.
.IP
.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
.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
.BR SCHED_DEADLINE
task to get informed about runtime overruns through the delivery of SIGXCPU
signals. Available since kernel 4.16.
.TP
.I sched_nice
This field specifies the nice value to be set when specifying