milos-linux/kernel/rcu
Gustavo Luiz Duarte ab875b3e17 rcu: Add BOOTPARAM_RCU_STALL_PANIC Kconfig option
Add a Kconfig option to set the default value of the
kernel.panic_on_rcu_stall sysctl, allowing the kernel to be built
with panic-on-RCU-stall enabled by default.

This is useful for high-availability systems that require automatic
recovery (via panic_timeout) when a CPU stall is detected, without
needing userspace to configure the sysctl at boot.

This follows the pattern established by BOOTPARAM_SOFTLOCKUP_PANIC
and BOOTPARAM_HUNG_TASK_PANIC.  The runtime sysctl can still override
the Kconfig default.

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Gustavo Luiz Duarte <gustavold@gmail.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
2026-03-30 15:48:14 -04:00
..
Kconfig rcu: Add noinstr-fast rcu_read_{,un}lock_tasks_trace() APIs 2026-01-01 16:39:46 +08:00
Kconfig.debug rcu: Add BOOTPARAM_RCU_STALL_PANIC Kconfig option 2026-03-30 15:48:14 -04:00
Makefile
rcu.h rcutorture: Add a textbook-style trivial preemptible RCU 2026-03-30 15:48:13 -04:00
rcu_segcblist.c
rcu_segcblist.h rcu: Remove unused declaration rcu_segcblist_offload() 2024-10-22 15:36:56 +02:00
rcuscale.c rcuscale: Ditch rcu_scale_shutdown in favor of torture_shutdown_init() 2026-03-30 15:48:13 -04:00
rcutorture.c rcutorture: Add a textbook-style trivial preemptible RCU 2026-03-30 15:48:13 -04:00
refscale.c refscale: Ditch ref_scale_shutdown in favor of torture_shutdown_init() 2026-03-30 15:48:13 -04:00
srcutiny.c srcu: Use irq_work to start GP in tiny SRCU 2026-03-25 09:00:05 -07:00
srcutree.c rcu: Use an intermediate irq_work to start process_srcu() 2026-03-25 08:59:59 -07:00
sync.c
tasks.h rcu-tasks: Remove unnecessary smp_store_release() in cblist_init_generic() 2026-03-30 15:48:14 -04:00
tiny.c sched: Provide and use set_need_resched_current() 2025-11-20 22:26:09 +01:00
tree.c Merge branch 'rcu-nocb.20260123a' 2026-01-23 11:15:36 -08:00
tree.h Merge branch 'rcu-nocb.20260123a' 2026-01-23 11:15:36 -08:00
tree_exp.h rcu: Make expedited RCU CPU stall warnings detect stall-end races 2026-01-07 21:58:26 +08:00
tree_nocb.h rcu/nocb: Extract nocb_bypass_needs_flush() to reduce duplication 2026-03-30 15:48:14 -04:00
tree_plugin.h rcu: Fix rcu_read_unlock() deadloop due to softirq 2026-01-07 21:58:37 +08:00
tree_stall.h rcu: Add BOOTPARAM_RCU_STALL_PANIC Kconfig option 2026-03-30 15:48:14 -04:00
update.c rcutorture: Add a textbook-style trivial preemptible RCU 2026-03-30 15:48:13 -04:00