~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/kernel/rcu/Kconfig.debug

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /kernel/rcu/Kconfig.debug (Version linux-6.11.5) and /kernel/rcu/Kconfig.debug (Version linux-4.20.17)


  1 # SPDX-License-Identifier: GPL-2.0-only        << 
  2 #                                                   1 #
  3 # RCU-related debugging configuration options       2 # RCU-related debugging configuration options
  4 #                                                   3 #
  5                                                     4 
  6 menu "RCU Debugging"                                5 menu "RCU Debugging"
  7                                                     6 
  8 config PROVE_RCU                                    7 config PROVE_RCU
  9         def_bool PROVE_LOCKING                      8         def_bool PROVE_LOCKING
 10                                                     9 
 11 config PROVE_RCU_LIST                          << 
 12         bool "RCU list lockdep debugging"      << 
 13         depends on PROVE_RCU && RCU_EXPERT     << 
 14         default n                              << 
 15         help                                   << 
 16           Enable RCU lockdep checking for list << 
 17           turned off since there are several l << 
 18           need to be converted to pass a lockd << 
 19           false-positive splats, we keep it de << 
 20           users are converted, we can remove t << 
 21                                                << 
 22 config TORTURE_TEST                                10 config TORTURE_TEST
 23         tristate                                   11         tristate
 24         default n                                  12         default n
 25                                                    13 
 26 config RCU_SCALE_TEST                          !!  14 config RCU_PERF_TEST
 27         tristate "performance tests for RCU"       15         tristate "performance tests for RCU"
 28         depends on DEBUG_KERNEL                    16         depends on DEBUG_KERNEL
 29         select TORTURE_TEST                        17         select TORTURE_TEST
                                                   >>  18         select SRCU
                                                   >>  19         select TASKS_RCU
 30         default n                                  20         default n
 31         help                                       21         help
 32           This option provides a kernel module     22           This option provides a kernel module that runs performance
 33           tests on the RCU infrastructure.  Th     23           tests on the RCU infrastructure.  The kernel module may be built
 34           after the fact on the running kernel     24           after the fact on the running kernel to be tested, if desired.
 35                                                    25 
 36           Say Y here if you want RCU performan     26           Say Y here if you want RCU performance tests to be built into
 37           the kernel.                              27           the kernel.
 38           Say M if you want the RCU performanc     28           Say M if you want the RCU performance tests to build as a module.
 39           Say N if you are unsure.                 29           Say N if you are unsure.
 40                                                    30 
 41 config RCU_TORTURE_TEST                            31 config RCU_TORTURE_TEST
 42         tristate "torture tests for RCU"           32         tristate "torture tests for RCU"
 43         depends on DEBUG_KERNEL                    33         depends on DEBUG_KERNEL
 44         select TORTURE_TEST                        34         select TORTURE_TEST
                                                   >>  35         select SRCU
                                                   >>  36         select TASKS_RCU
 45         default n                                  37         default n
 46         help                                       38         help
 47           This option provides a kernel module     39           This option provides a kernel module that runs torture tests
 48           on the RCU infrastructure.  The kern     40           on the RCU infrastructure.  The kernel module may be built
 49           after the fact on the running kernel     41           after the fact on the running kernel to be tested, if desired.
 50                                                    42 
 51           Say Y here if you want RCU torture t     43           Say Y here if you want RCU torture tests to be built into
 52           the kernel.                              44           the kernel.
 53           Say M if you want the RCU torture te     45           Say M if you want the RCU torture tests to build as a module.
 54           Say N if you are unsure.                 46           Say N if you are unsure.
 55                                                    47 
 56 config RCU_REF_SCALE_TEST                      << 
 57         tristate "Scalability tests for read-s << 
 58         depends on DEBUG_KERNEL                << 
 59         select TORTURE_TEST                    << 
 60         default n                              << 
 61         help                                   << 
 62           This option provides a kernel module << 
 63           useful comparing RCU with various re << 
 64           The kernel module may be built after << 
 65           tested, if desired.                  << 
 66                                                << 
 67           Say Y here if you want these perform << 
 68           Say M if you want to build it as a m << 
 69           Say N if you are unsure.             << 
 70                                                << 
 71 config RCU_CPU_STALL_TIMEOUT                       48 config RCU_CPU_STALL_TIMEOUT
 72         int "RCU CPU stall timeout in seconds"     49         int "RCU CPU stall timeout in seconds"
 73         depends on RCU_STALL_COMMON                50         depends on RCU_STALL_COMMON
 74         range 3 300                                51         range 3 300
 75         default 21                                 52         default 21
 76         help                                       53         help
 77           If a given RCU grace period extends      54           If a given RCU grace period extends more than the specified
 78           number of seconds, a CPU stall warni     55           number of seconds, a CPU stall warning is printed.  If the
 79           RCU grace period persists, additiona     56           RCU grace period persists, additional CPU stall warnings are
 80           printed at more widely spaced interv     57           printed at more widely spaced intervals.
 81                                                    58 
 82 config RCU_EXP_CPU_STALL_TIMEOUT               << 
 83         int "Expedited RCU CPU stall timeout i << 
 84         depends on RCU_STALL_COMMON            << 
 85         range 0 300000                         << 
 86         default 0                              << 
 87         help                                   << 
 88           If a given expedited RCU grace perio << 
 89           specified number of milliseconds, a  << 
 90           If the RCU grace period persists, ad << 
 91           are printed at more widely spaced in << 
 92           says to use the RCU_CPU_STALL_TIMEOU << 
 93           seconds to milliseconds.             << 
 94                                                << 
 95 config RCU_CPU_STALL_CPUTIME                   << 
 96         bool "Provide additional RCU stall deb << 
 97         depends on RCU_STALL_COMMON            << 
 98         default n                              << 
 99         help                                   << 
100           Collect statistics during the sampli << 
101           (hard interrupts, soft interrupts, t << 
102           (hard interrupts, soft interrupts, k << 
103           RCU stall report. For multiple conti << 
104           periods begin at half of the first R << 
105           The boot option rcupdate.rcu_cpu_sta << 
106           as this one, but will override this  << 
107                                                << 
108 config RCU_CPU_STALL_NOTIFIER                  << 
109         bool "Provide RCU CPU-stall notifiers" << 
110         depends on RCU_STALL_COMMON            << 
111         depends on DEBUG_KERNEL                << 
112         depends on RCU_EXPERT                  << 
113         default n                              << 
114         help                                   << 
115           WARNING:  You almost certainly do no << 
116                                                << 
117           Enable RCU CPU-stall notifiers, whic << 
118           printing the RCU CPU stall warning.  << 
119           callbacks can prevent stall warnings << 
120           And the whole reason that a stall wa << 
121           that something is hung up somewhere. << 
122           callbacks must be written extremely  << 
123           containing only lockless code.  Afte << 
124           that the whole reason that the RCU C << 
125           the first place is that someone forg << 
126           that you are thinking of acquiring.  << 
127           notifier callback acquire that lock  << 
128           RCU CPU stall warning from appearing << 
129                                                << 
130           Say Y here if you want RCU CPU stall << 
131           Say N if you are unsure.             << 
132                                                << 
133 config RCU_TRACE                                   59 config RCU_TRACE
134         bool "Enable tracing for RCU"              60         bool "Enable tracing for RCU"
135         depends on DEBUG_KERNEL                    61         depends on DEBUG_KERNEL
136         default y if TREE_RCU                      62         default y if TREE_RCU
137         select TRACE_CLOCK                         63         select TRACE_CLOCK
138         help                                       64         help
139           This option enables additional trace     65           This option enables additional tracepoints for ftrace-style
140           event tracing.                           66           event tracing.
141                                                    67 
142           Say Y here if you want to enable RCU     68           Say Y here if you want to enable RCU tracing
143           Say N if you are unsure.                 69           Say N if you are unsure.
144                                                    70 
145 config RCU_EQS_DEBUG                               71 config RCU_EQS_DEBUG
146         bool "Provide debugging asserts for ad     72         bool "Provide debugging asserts for adding NO_HZ support to an arch"
147         depends on DEBUG_KERNEL                    73         depends on DEBUG_KERNEL
148         help                                       74         help
149           This option provides consistency che     75           This option provides consistency checks in RCU's handling of
150           NO_HZ.  These checks have proven qui     76           NO_HZ.  These checks have proven quite helpful in detecting
151           bugs in arch-specific NO_HZ code.        77           bugs in arch-specific NO_HZ code.
152                                                    78 
153           Say N here if you need ultimate kern     79           Say N here if you need ultimate kernel/user switch latencies
154           Say Y if you are unsure                  80           Say Y if you are unsure
155                                                << 
156 config RCU_STRICT_GRACE_PERIOD                 << 
157         bool "Provide debug RCU implementation << 
158         depends on DEBUG_KERNEL && RCU_EXPERT  << 
159         default n                              << 
160         select PREEMPT_COUNT if PREEMPT=n      << 
161         help                                   << 
162           Select this option to build an RCU v << 
163           grace periods, making them as short  << 
164           scalability, destroys real-time resp << 
165           lifetime and kills performance.  Don << 
166           machines, as in systems with more th << 
167           But in conjunction with tools like K << 
168           when looking for certain types of RC << 
169           too-short RCU read-side critical sec << 
170                                                    81 
171 endmenu # "RCU Debugging"                          82 endmenu # "RCU Debugging"
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php