proc.5: Note kernel version that introduced threads-max range checks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-09-11 13:27:41 +02:00
parent 6fb0f56f98
commit 004b062d87
1 changed files with 7 additions and 2 deletions

View File

@ -4269,8 +4269,13 @@ date following it indicates the time the kernel was built.
This file specifies the system-wide limit on the number of This file specifies the system-wide limit on the number of
threads (tasks) that can be created on the system. threads (tasks) that can be created on the system.
The minimum value that can be written to threads-max is 20. Since Linux 4.1,
The maximum value that can be written to threads-max is given by the .\" commit 230633d109e35b0a24277498e773edeb79b4a331
the value that can be written to
.I threads-max
is bounded.
The minimum value that can be written is 20.
The maximum value that can be written is given by the
constant constant
.B FUTEX_TID_MASK .B FUTEX_TID_MASK
(0x3fffffff). (0x3fffffff).