fork.2: ERRORS: SCHED_DEADLINE tasks can fail with EAGAIN

SCHED_DEADLINE tasks can fail with EAGAIN unless the
reset-on-fork flag is set.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-12 13:29:43 +02:00
parent d6681273da
commit 75becc94d3
1 changed files with 8 additions and 1 deletions

View File

@ -36,7 +36,7 @@
.\" Greatly expanded, to describe all attributes that differ
.\" parent and child.
.\"
.TH FORK 2 2013-03-12 "Linux" "Linux Programmer's Manual"
.TH FORK 2 2014-05-12 "Linux" "Linux Programmer's Manual"
.SH NAME
fork \- create a child process
.SH SYNOPSIS
@ -194,6 +194,13 @@ or the
.B CAP_SYS_RESOURCE
capability.
.TP
.B EAGAIN
The caller is operating under the
.BR SCHED_DEADLINE
scheduling policy and does not have the reset-on-fork flag set.
See
.BR sched (7).
.TP
.B ENOMEM
.BR fork ()
failed to allocate the necessary kernel structures because memory is tight.