[PATCH] mention that DEBUG_SLAB can slow down machine quite a bit

From: Denis Vlasenko
Date: Thu Sep 16 2004 - 03:34:59 EST


Hi,

I experienced x3 slowdown due to this option being set.

Please add this small warning to DEBUG_SLAB help text.
--
vda
diff -urN linux-2.6.9-rc2hz.src/lib/Kconfig.debug linux-2.6.9-rc2hz.helptext/lib/Kconfig.debug
--- linux-2.6.9-rc2hz.src/lib/Kconfig.debug Mon Sep 13 22:33:37 2004
+++ linux-2.6.9-rc2hz.helptext/lib/Kconfig.debug Thu Sep 16 11:19:28 2004
@@ -34,7 +34,7 @@
help
Say Y here to have the kernel do limited verification on memory
allocation as well as poisoning memory on free to catch use of freed
- memory.
+ memory. This can make kmalloc/kfree-intensive workloads much slower.

config DEBUG_SPINLOCK
bool "Spinlock debugging"