rcu: Move rcu_stall related sysctls into rcu/tree_stall.h
authorJoel Granados <joel.granados@kernel.org>
Wed, 30 Apr 2025 12:07:33 +0000 (14:07 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:52:47 +0000 (11:52 +0200)
commitfff6703fc843569d7a2f78ca08e7a69a9be22b0f
tree0488089fb47f0eb9115ff99383bf3d81c6fde3b9
parentf1b4f23a52c272f6c1e205e8ec243f563323c5aa
rcu: Move rcu_stall related sysctls into rcu/tree_stall.h

Move sysctl_panic_on_rcu_stall and sysctl_max_rcu_stall_to_panic into
the kernel/rcu subdirectory. Make these static in tree_stall.h and
removed them as extern from panic.h as their scope is now confined into
one file.

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: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/panic.h
kernel/rcu/tree_stall.h
kernel/sysctl.c