Re: SLUB: The unqueued Slab allocator

Christoph Lameter
2007-02-23T04:55:50Z

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.