summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorGreg Thelen2013-11-13 00:08:34 +0100
committerLinus Torvalds2013-11-13 04:09:11 +0100
commit623fd8072c7c4d77a184bc9e35192acf480c18e4 (patch)
treeb8d8aa69d5d532430b6f1dd1221a4e32b60c85e3 /lib/Kconfig.debug
parentdrivers/char/hpet.c: allow user controlled mmap for user processes (diff)
downloadkernel-qcow2-linux-623fd8072c7c4d77a184bc9e35192acf480c18e4.tar.gz
kernel-qcow2-linux-623fd8072c7c4d77a184bc9e35192acf480c18e4.tar.xz
kernel-qcow2-linux-623fd8072c7c4d77a184bc9e35192acf480c18e4.zip
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