fork: mv threads-max into kernel/fork.c
authorJoel Granados <joel.granados@kernel.org>
Fri, 2 May 2025 20:27:38 +0000 (22:27 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:52:48 +0000 (11:52 +0200)
commit8e5f04b0d58c734c69a0b6e26317561919299638
treefe215a210b01f1946015d57a04cbffbcbdf950ea
parent9e2f403dd8c2b07aff012e72c1fe5455538d72d2
fork: mv threads-max into kernel/fork.c

make sysctl_max_threads static as it no longer needs to be exported into
sysctl.c.

This is part of a greater effort to move ctl tables into their
respective subsystems which will reduce the merge conflicts in
kernel/sysctl.c.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/sysctl.h
kernel/fork.c
kernel/sysctl.c