Re: SLUB: The unqueued Slab allocator

Andi Kleen
2007-02-23T00:16:57Z

On Thu, Feb 22, 2007 at 10:42:23AM -0800, Christoph Lameter wrote:
> On Thu, 22 Feb 2007, Andi Kleen wrote:
>
> > > SLUB does not need a cache reaper for UP systems.
> >
> > This means constructors/destructors are becomming worthless?
> > Can you describe your rationale why you think they don't make
> > sense on UP?
>
> Cache reaping has nothing to do with constructors and destructors. SLUB
> fully supports constructors and destructors.

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

-Andi