--- zzzz-none-000/linux-2.6.32.61/lib/Kconfig.debug 2013-06-10 09:43:48.000000000 +0000 +++ virian-300e-630/linux-2.6.32.61/lib/Kconfig.debug 2014-01-29 14:24:59.000000000 +0000 @@ -314,6 +314,13 @@ allocation as well as poisoning memory on free to catch use of freed memory. This can make kmalloc/kfree-intensive workloads much slower. +config DEBUG_SLAB_DOUBLE_FREE + bool "SLAB double free check enabled" + depends on DEBUG_KERNEL && SLAB && !DEBUG_SLAB + help + Say Y here if you hit BUG or BUG_ON in slab.c, to find the problem. + This makes kmalloc/kfree-intensive workloads only a little bit slower. + config DEBUG_SLAB_LEAK bool "Memory leak debugging" depends on DEBUG_SLAB