diff options
author | Paul E. McKenney <paulmck@us.ibm.com> | 2005-10-30 18:03:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:27 -0500 |
commit | a241ec65aeac3d69a08a7b153cccbdb7ea35063f (patch) | |
tree | e96585e8b1e699f31bad1fa61f34d2ec7c3a187c /lib/Kconfig.debug | |
parent | b3099b48da23686d8378133b0264ee00385ee5fa (diff) |
[PATCH] RCU torture-testing kernel module
This patch is a rewrite of the one submitted on October 1st, using modules
(http://marc.theaimsgroup.com/?l=linux-kernel&m=112819093522998&w=2).
This rewrite adds a tristate CONFIG_RCU_TORTURE_TEST, which enables an
intense torture test of the RCU infratructure. This is needed due to the
continued changes to the RCU infrastructure to accommodate dynamic ticks,
CPU hotplug, realtime, and so on. Most of the code is in a separate file
that is compiled only if the CONFIG variable is set. Documentation on how
to run the test and interpret the output is also included.
This code has been tested on i386 and ppc64, and an earlier version of the
code has received extensive testing on a number of architectures as part of
the PREEMPT_RT patchset.
Signed-off-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index f9306b14d2a6..156822e3cc79 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -168,6 +168,14 @@ config DEBUG_FS | |||
168 | 168 | ||
169 | If unsure, say N. | 169 | If unsure, say N. |
170 | 170 | ||
171 | config DEBUG_VM | ||
172 | bool "Debug VM" | ||
173 | depends on DEBUG_KERNEL | ||
174 | help | ||
175 | Enable this to debug the virtual-memory system. | ||
176 | |||
177 | If unsure, say N. | ||
178 | |||
171 | config FRAME_POINTER | 179 | config FRAME_POINTER |
172 | bool "Compile the kernel with frame pointers" | 180 | bool "Compile the kernel with frame pointers" |
173 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML) | 181 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML) |
@@ -178,3 +186,16 @@ config FRAME_POINTER | |||
178 | some architectures or if you use external debuggers. | 186 | some architectures or if you use external debuggers. |
179 | If you don't debug the kernel, you can say N. | 187 | If you don't debug the kernel, you can say N. |
180 | 188 | ||
189 | config RCU_TORTURE_TEST | ||
190 | tristate "torture tests for RCU" | ||
191 | depends on DEBUG_KERNEL | ||
192 | default n | ||
193 | help | ||
194 | This option provides a kernel module that runs torture tests | ||
195 | on the RCU infrastructure. The kernel module may be built | ||
196 | after the fact on the running kernel to be tested, if desired. | ||
197 | |||
198 | Say Y here if you want RCU torture tests to start automatically | ||
199 | at boot time (you probably don't). | ||
200 | Say M if you want the RCU torture tests to build as a module. | ||
201 | Say N if you are unsure. | ||