aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-03-27 05:04:06 -0400
committerIngo Molnar <mingo@kernel.org>2015-03-27 05:04:06 -0400
commit4bfe186dbe0a058680e4bfb0d673194f0ceaffd4 (patch)
tree5e374857dcd979d50f51c7091505784cb053d078 /lib
parent3c435c1e472ba344ee25f795f4807d4457e61f6c (diff)
parent42528795ac1c8d7ba021797ec004904168956d64 (diff)
Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU updates from Paul E. McKenney: - Documentation updates. - Changes permitting use of call_rcu() and friends very early in boot, for example, before rcu_init() is invoked. - Miscellaneous fixes. - Add in-kernel API to enable and disable expediting of normal RCU grace periods. - Improve RCU's handling of (hotplug-) outgoing CPUs. Note: ARM support is lagging a bit here, and these improved diagnostics might generate (harmless) splats. - NO_HZ_FULL_SYSIDLE fixes. - Tiny RCU updates to make it more tiny. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug35
1 files changed, 25 insertions, 10 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c5cefb3c009c..1ad74c0df01f 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1180,16 +1180,7 @@ config DEBUG_CREDENTIALS
1180menu "RCU Debugging" 1180menu "RCU Debugging"
1181 1181
1182config PROVE_RCU 1182config PROVE_RCU
1183 bool "RCU debugging: prove RCU correctness" 1183 def_bool PROVE_LOCKING
1184 depends on PROVE_LOCKING
1185 default n
1186 help
1187 This feature enables lockdep extensions that check for correct
1188 use of RCU APIs. This is currently under development. Say Y
1189 if you want to debug RCU usage or help work on the PROVE_RCU
1190 feature.
1191
1192 Say N if you are unsure.
1193 1184
1194config PROVE_RCU_REPEATEDLY 1185config PROVE_RCU_REPEATEDLY
1195 bool "RCU debugging: don't disable PROVE_RCU on first splat" 1186 bool "RCU debugging: don't disable PROVE_RCU on first splat"
@@ -1257,6 +1248,30 @@ config RCU_TORTURE_TEST_RUNNABLE
1257 Say N here if you want the RCU torture tests to start only 1248 Say N here if you want the RCU torture tests to start only
1258 after being manually enabled via /proc. 1249 after being manually enabled via /proc.
1259 1250
1251config RCU_TORTURE_TEST_SLOW_INIT
1252 bool "Slow down RCU grace-period initialization to expose races"
1253 depends on RCU_TORTURE_TEST
1254 help
1255 This option makes grace-period initialization block for a
1256 few jiffies between initializing each pair of consecutive
1257 rcu_node structures. This helps to expose races involving
1258 grace-period initialization, in other words, it makes your
1259 kernel less stable. It can also greatly increase grace-period
1260 latency, especially on systems with large numbers of CPUs.
1261 This is useful when torture-testing RCU, but in almost no
1262 other circumstance.
1263
1264 Say Y here if you want your system to crash and hang more often.
1265 Say N if you want a sane system.
1266
1267config RCU_TORTURE_TEST_SLOW_INIT_DELAY
1268 int "How much to slow down RCU grace-period initialization"
1269 range 0 5
1270 default 3
1271 help
1272 This option specifies the number of jiffies to wait between
1273 each rcu_node structure initialization.
1274
1260config RCU_CPU_STALL_TIMEOUT 1275config RCU_CPU_STALL_TIMEOUT
1261 int "RCU CPU stall timeout in seconds" 1276 int "RCU CPU stall timeout in seconds"
1262 depends on RCU_STALL_COMMON 1277 depends on RCU_STALL_COMMON