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

Nick Piggin
2007-05-24T03:15:48Z

On Wed, May 23, 2007 at 07:49:50PM -0700, Christoph Lameter wrote:
> Here is what I got trying to trim down SLUB on x84_64 (UP config)
>
> Full:
>
> text data bss dec hex filename
> 25928 11351 256 37535 929f mm/slub.o
>
> !CONFIG_SLUB_DEBUG + patch below
>
> text data bss dec hex filename
> 8639 4735 224 13598 351e mm/slub.o
>
> SLOB
>
> text data bss dec hex filename
> 4206 96 0 4302 10ce mm/slob.o
>
> So we can get down to about double the text size. Data is of course an
> issue. Other 64 bit platforms bloat the code significantly.
>
> Interesting that inlining some functions actually saves memory.
>
> SLUB embedded: Reduce memory use II

After boot test, this has 760K free.