diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-06-25 00:59:59 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-25 03:38:31 +0200 |
commit | e9d338a0b1799c988b678e8ccb66a442272e6aa3 (patch) | |
tree | 495fdcad3944944f4beaf1a822effe8b7e91ba50 /lib | |
parent | Linux 5.9-rc1 (diff) | |
download | linux-e9d338a0b1799c988b678e8ccb66a442272e6aa3.tar.xz linux-e9d338a0b1799c988b678e8ccb66a442272e6aa3.zip |
scftorture: Add smp_call_function() torture test
This commit adds an smp_call_function() torture test that repeatedly
invokes this function and complains if things go badly awry.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e068c3c7189a..0c3a6c752ede 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1367,6 +1367,16 @@ 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. + endmenu # lock debugging config TRACE_IRQFLAGS |