summaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2013-11-13 03:08:34 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 07:09:11 +0400
commit623fd8072c7c4d77a184bc9e35192acf480c18e4 (patch)
treeb8d8aa69d5d532430b6f1dd1221a4e32b60c85e3 /lib/Kconfig.debug
parent3d035f580699feba352f8703cced127fc203f0dd (diff)
downloadlinux-623fd8072c7c4d77a184bc9e35192acf480c18e4.tar.xz
percpu: add test module for various percpu operations
Tests various percpu operations. Enable with CONFIG_PERCPU_TEST=m. Signed-off-by: Greg Thelen <gthelen@google.com> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index ebef88f61b7d..db25707aa41b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1481,6 +1481,15 @@ config INTERVAL_TREE_TEST
help
A benchmark measuring the performance of the interval tree library
+config PERCPU_TEST
+ tristate "Per cpu operations test"
+ depends on m && DEBUG_KERNEL
+ help
+ Enable this option to build test module which validates per-cpu
+ operations.
+
+ If unsure, say N.
+
config ATOMIC64_SELFTEST
bool "Perform an atomic64_t self-test at boot"
help