All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: SLUB: The unqueued Slab allocator
Date: Fri, 23 Feb 2007 01:16:53 +0100	[thread overview]
Message-ID: <20070223001653.GA16108@one.firstfloor.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0702221040140.2011@schroedinger.engr.sgi.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <andi@firstfloor.org>
To: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: SLUB: The unqueued Slab allocator
Date: Fri, 23 Feb 2007 01:16:53 +0100	[thread overview]
Message-ID: <20070223001653.GA16108@one.firstfloor.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0702221040140.2011@schroedinger.engr.sgi.com>

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2007-02-23  0:16 UTC|newest]

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

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=20070223001653.GA16108@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=akpm@linux-foundation.org \
    --cc=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.