1 # SPDX-License-Identifier: GPL-2.0-only
3 # RCU-related debugging configuration options
16 tristate "performance tests for RCU"
17 depends on DEBUG_KERNEL
23 This option provides a kernel module that runs performance
24 tests on the RCU infrastructure. The kernel module may be built
25 after the fact on the running kernel to be tested, if desired.
27 Say Y here if you want RCU performance tests to be built into
29 Say M if you want the RCU performance tests to build as a module.
30 Say N if you are unsure.
32 config RCU_TORTURE_TEST
33 tristate "torture tests for RCU"
34 depends on DEBUG_KERNEL
40 This option provides a kernel module that runs torture tests
41 on the RCU infrastructure. The kernel module may be built
42 after the fact on the running kernel to be tested, if desired.
44 Say Y here if you want RCU torture tests to be built into
46 Say M if you want the RCU torture tests to build as a module.
47 Say N if you are unsure.
49 config RCU_CPU_STALL_TIMEOUT
50 int "RCU CPU stall timeout in seconds"
51 depends on RCU_STALL_COMMON
55 If a given RCU grace period extends more than the specified
56 number of seconds, a CPU stall warning is printed. If the
57 RCU grace period persists, additional CPU stall warnings are
58 printed at more widely spaced intervals.
61 bool "Enable tracing for RCU"
62 depends on DEBUG_KERNEL
66 This option enables additional tracepoints for ftrace-style
69 Say Y here if you want to enable RCU tracing
70 Say N if you are unsure.
73 bool "Provide debugging asserts for adding NO_HZ support to an arch"
74 depends on DEBUG_KERNEL
76 This option provides consistency checks in RCU's handling of
77 NO_HZ. These checks have proven quite helpful in detecting
78 bugs in arch-specific NO_HZ code.
80 Say N here if you need ultimate kernel/user switch latencies
81 Say Y if you are unsure
83 endmenu # "RCU Debugging"