aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 21:22:29 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 21:22:29 -0500
commitc00f08d705e149fbfaf7a252b4d4fbb7affdcc96 (patch)
tree8c916856376d0d400ddda239d5be386f9b9516d7 /lib/Kconfig.debug
parentc8b6de16d9434405e5832b8772e4f986ddd5118e (diff)
parent3adbefee6fd58a061b2bf1df4f3769701860fc62 (diff)
Merge branch 'slub-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm
* 'slub-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm: SLUB: fix checkpatch warnings Use non atomic unlock SLUB: Support for performance statistics SLUB: Alternate fast paths using cmpxchg_local SLUB: Use unique end pointer for each slab page. SLUB: Deal with annoying gcc warning on kfree()
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0d385be682db..4f4008fc73e4 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -205,6 +205,19 @@ config SLUB_DEBUG_ON
205 off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying 205 off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying
206 "slub_debug=-". 206 "slub_debug=-".
207 207
208config SLUB_STATS
209 default n
210 bool "Enable SLUB performance statistics"
211 depends on SLUB
212 help
213 SLUB statistics are useful to debug SLUBs allocation behavior in
214 order find ways to optimize the allocator. This should never be
215 enabled for production use since keeping statistics slows down
216 the allocator by a few percentage points. The slabinfo command
217 supports the determination of the most active slabs to figure
218 out which slabs are relevant to a particular load.
219 Try running: slabinfo -DA
220
208config DEBUG_PREEMPT 221config DEBUG_PREEMPT
209 bool "Debug preemptible kernel" 222 bool "Debug preemptible kernel"
210 depends on DEBUG_KERNEL && PREEMPT && (TRACE_IRQFLAGS_SUPPORT || PPC64) 223 depends on DEBUG_KERNEL && PREEMPT && (TRACE_IRQFLAGS_SUPPORT || PPC64)