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

Christoph Lameter
2007-05-24T03:55:20Z

On Thu, 24 May 2007, Nick Piggin wrote:

> > Hummm... We have not tested with my patch yet. May save another 200k.
>
> Saved 12K. Shuld it have been more? I only applied the last patch you
> sent (plus the initial SLUB_DEBUG fix).

Yeah. The code size should have shrunk significantly. It seems that the
inlining instead of saving memory as on x86_64 wasted memory and ate up
the winnings through the shrink. Could you try the patch before to see how
much actually is saved by shrinking?

> Admittedly, I am not involved with any such tiny Linux projects, however
> why should half of memory be available to userspace? What about a router
> or firewall that basically does all work in kernel?

It would also work fine with SLUB? Its about 12k code + data on
x86_64. I doubt that this would be too much of an issue.