Re: SLUB: The unqueued Slab allocator

From: Christoph Lameter
Date: Thu Feb 22 2007 - 23:56:23 EST

On Fri, 23 Feb 2007, Andi Kleen wrote:

> If you don't cache constructed but free objects then there is no cache
> advantage of constructors/destructors and they would be useless.

SLUB caches those objects as long as they are part of a partially
allocated slab. If all objects in the slab are freed then the whole slab
will be freed. SLUB does not keep queues of freed slabs.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at