]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sched_setattr.2: Document SCHED_FLAG_DL_OVERRUN and SCHED_FLAG_RECLAIM
authorClaudio Scordino <claudio@evidence.eu.com>
Wed, 18 Apr 2018 09:39:29 +0000 (11:39 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 6 Mar 2019 14:02:00 +0000 (15:02 +0100)
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>
man2/sched_setattr.2

index 492ccbcf7160ab8dd6b32e5b3256d2b59d929708..54bf6e8d0b1fe08c443f686e3f38c9bfe5e88ea3 100644 (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