This patch documents two additional flags recently introduced for the sched_flags field of sched_setattr(). These flags are namely SCHED_FLAG_RECLAIM [1] and SCHED_FLAG_DL_OVERRUN [2]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ccc9d651a7d26fec88d2375c4dd4e097cc0f8de7 [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34be39305a77b8b1ec9f279163c7cdb6cc719b91 Signed-off-by: Claudio Scordino <claudio@xxxxxxxxxxxxxxx> --- man2/sched_setattr.2 | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/man2/sched_setattr.2 b/man2/sched_setattr.2 index 492ccbc..54bf6e8 100644 --- a/man2/sched_setattr.2 +++ b/man2/sched_setattr.2 @@ -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 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html