From 004b062d87767b0232c93147b2fbd4c2d4d0b4f7 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 11 Sep 2015 13:27:41 +0200 Subject: [PATCH] proc.5: Note kernel version that introduced threads-max range checks Signed-off-by: Michael Kerrisk --- man5/proc.5 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/man5/proc.5 b/man5/proc.5 index 83f30afdd..950aa5e13 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -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 threads (tasks) that can be created on the system. -The minimum value that can be written to threads-max is 20. -The maximum value that can be written to threads-max is given by the +Since Linux 4.1, +.\" 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 .B FUTEX_TID_MASK (0x3fffffff).