Re: [patch 1/3] slob: rework freelist handling

Christoph Lameter
2007-05-23T05:14:28Z

On Wed, 23 May 2007, Nick Piggin wrote:

> I don't really know what you mean by this... CONFIG_SLUB_DEBUG adds 20K or
> so to the kernel image if nothing else, which just makes a comparison
> more difficult. But to me it seems like CONFIG_SLUB_DEBUG also puts extra
> redzone in the object sometimes.

CONFIG_SLUB_DEBUG compiles debug code in. It is out of line and activated
if you boot with "slub_debug". If you do not specify "slub_debug" then the
system will run with optimal speed and pack data as tight as possible.

This is intended for distro kernels so that you will not have to rebuild
the kernel for slab debugging if slab corruption occurs.