Merge tag 'core-rcu-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / lib / Kconfig.debug
index ebe5ab111e65ac2a689024bb3963eebe821672e4..279926f5f843e61b837433175a8067077308f9de 100644 (file)
@@ -1367,6 +1367,27 @@ config WW_MUTEX_SELFTEST
          Say M if you want these self tests to build as a module.
          Say N if you are unsure.
 
+config SCF_TORTURE_TEST
+       tristate "torture tests for smp_call_function*()"
+       depends on DEBUG_KERNEL
+       select TORTURE_TEST
+       help
+         This option provides a kernel module that runs torture tests
+         on the smp_call_function() family of primitives.  The kernel
+         module may be built after the fact on the running kernel to
+         be tested, if desired.
+
+config CSD_LOCK_WAIT_DEBUG
+       bool "Debugging for csd_lock_wait(), called from smp_call_function*()"
+       depends on DEBUG_KERNEL
+       depends on 64BIT
+       default n
+       help
+         This option enables debug prints when CPUs are slow to respond
+         to the smp_call_function*() IPI wrappers.  These debug prints
+         include the IPI handler function currently executing (if any)
+         and relevant stack traces.
+
 endmenu # lock debugging
 
 config TRACE_IRQFLAGS