Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: admin-guide: Remove threads-max auto-tuning

Since following path was merged in 5.4-rc3,
auto-tuning feature in threads-max does not exist any more.
Fix the admin-guide document as is.

kernel/sysctl.c: do not override max_threads provided by userspace
b0f53dbc4bc4c371f38b14c391095a3bb8a0bb40

Fixes: b0f53dbc4bc4 ("kernel/sysctl.c: do not override max_threads provided by userspace")
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Masanari Iida and committed by
Jonathan Corbet
e80d8938 73eb802a

-4
-4
Documentation/admin-guide/sysctl/kernel.rst
··· 1111 1111 If a value outside of this range is written to threads-max an error 1112 1112 EINVAL occurs. 1113 1113 1114 - The value written is checked against the available RAM pages. If the 1115 - thread structures would occupy too much (more than 1/8th) of the 1116 - available RAM pages threads-max is reduced accordingly. 1117 - 1118 1114 1119 1115 unknown_nmi_panic: 1120 1116 ==================