aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-16 02:40:04 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-16 02:40:04 -0400
commit1462a200057df08be12f3719e1f37adbd2c6e4d0 (patch)
treeac9564489df3b79ee66faa88bebcaa7858585010
parent2ba4cc319ab26c56205d4f23724c4748a553c845 (diff)
Revert "prohibit rcutorture from being compiled into the kernel"
This reverts commit 9aaffc898ff4a3df18c5fc4b9e0fa47e779ad726. That commit was a very bad idea. RCU_TORTURE found many boot timing bugs and other sorts of bugs in the past, so excluding it from boot images is very silly. The option already depends on DEBUG_KERNEL and is disabled by default. Even when it runs, the test threads are reniced. If it annoys people we could add a runtime sysctl.
-rw-r--r--lib/Kconfig.debug3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index d2099f41aa1e..f51ba2fa2662 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -531,13 +531,14 @@ config BOOT_PRINTK_DELAY
531config RCU_TORTURE_TEST 531config RCU_TORTURE_TEST
532 tristate "torture tests for RCU" 532 tristate "torture tests for RCU"
533 depends on DEBUG_KERNEL 533 depends on DEBUG_KERNEL
534 depends on m
535 default n 534 default n
536 help 535 help
537 This option provides a kernel module that runs torture tests 536 This option provides a kernel module that runs torture tests
538 on the RCU infrastructure. The kernel module may be built 537 on the RCU infrastructure. The kernel module may be built
539 after the fact on the running kernel to be tested, if desired. 538 after the fact on the running kernel to be tested, if desired.
540 539
540 Say Y here if you want RCU torture tests to start automatically
541 at boot time (you probably don't).
541 Say M if you want the RCU torture tests to build as a module. 542 Say M if you want the RCU torture tests to build as a module.
542 Say N if you are unsure. 543 Say N if you are unsure.
543 544