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

Nick Piggin
2007-05-23T05:22:06Z

On Tue, May 22, 2007 at 10:14:28PM -0700, Christoph Lameter wrote:
> 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.

OIC, neat. Anyway, the code size issue is still there, so I will
test with the fix instead.