Re: [patch 09/10] Remove the SLOB allocator for 2.6.23

From: Christoph Lameter
Date: Mon Jul 09 2007 - 21:56:29 EST


On Tue, 10 Jul 2007, Nick Piggin wrote:

> I don't see any problems with maintaining SLOB. It is simple enough
> that I was able to write a userspace test harness for it and hack
> away at it after reading the code the first time for half an hour or
> so. It is nothing even slightly comparable to the problems of SLAB,
> for example. And you don't have to maintain it at all anyway!

I have to maintain it because I have to keep the slab APIs consistent
(recently I added GFP_ZERO support and had to provide shims for slab
defreag). It is not in a good state as described in the patch and has a
history of not being maintained properly. Everyone that modifies the
behavior of the slab allocator has to do something to avoid breaking SLOB.
Its certainly fun to hack on but is that a criterion for keeping it in the
tree?

> I like removing code as much as the next person, but I don't
> understand why you are so intent on removing SLOB and willing to
> dismiss its advantages so quickly.

Quickly? We have considered this for months now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/