LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Christoph Lameter <clameter@engr.sgi.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: SLUB: The unqueued Slab allocator
Date: Thu, 22 Feb 2007 20:55:41 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0702222053540.24461@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20070223001653.GA16108@one.firstfloor.org>

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.


  reply	other threads:[~2007-02-23  4:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22  7:00 Christoph Lameter
2007-02-22  8:34 ` Peter Zijlstra
2007-02-22 15:25   ` Christoph Lameter
2007-02-22  8:58 ` David Miller
2007-02-22 15:26   ` Christoph Lameter
2007-02-22 10:49 ` Pekka Enberg
2007-02-22 15:15   ` Christoph Lameter
2007-02-22 17:54 ` Andi Kleen
2007-02-22 18:42   ` Christoph Lameter
2007-02-23  0:16     ` Andi Kleen
2007-02-23  4:55       ` Christoph Lameter [this message]
2007-02-24  5:28     ` KAMEZAWA Hiroyuki
2007-02-24  5:47       ` Christoph Lameter
2007-02-24  5:54         ` David Miller
2007-02-24 17:32           ` Christoph Lameter
2007-02-24 19:33             ` Jörn Engel
2007-02-25  0:14               ` Christoph Lameter
2007-02-25 12:23                 ` Jörn Engel
2007-02-25  0:53             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0702222053540.24461@schroedinger.engr.sgi.com \
    --to=clameter@engr.sgi.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --subject='Re: SLUB: The unqueued Slab allocator' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).