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

Nick Piggin
2007-05-23T06:17:02Z

On Tue, May 22, 2007 at 10:28:54PM -0700, Christoph Lameter wrote:
> On Wed, 23 May 2007, Nick Piggin wrote:
>
> > > 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.
>
> A code size issue? You mean SLUB is code wise larger than SLOB?

That's what the numbers I just posted earlier indicate, yes.

If you want to do a memory consumption shootout with SLOB, you need
all the help you can get ;)

OK, so with a 64-bit UP ppc kernel, compiled for size, and without full
size data structures, booting with mem=16M init=/bin/bash.

2.6.22-rc1-mm1 + your fix + my slob patches.

After booting and mounting /proc, SLOB has 1140K free, SLUB has 748K
free.