All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question on SLAB allocator.
Date: Sun, 19 Aug 2012 14:18:58 -0700	[thread overview]
Message-ID: <m2obm68trx.fsf@firstfloor.org> (raw)
In-Reply-To: <503141B5.7070705@tribudubois.net> (Jean-Christophe DUBOIS's message of "Sun, 19 Aug 2012 21:42:45 +0200")

Jean-Christophe DUBOIS <jcd@tribudubois.net> writes:

Slab supports constructors.  Reusing state from freeing at next
allocation of the same type to optimize use of the CPU caches. The inode
cache among others use this.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

      reply	other threads:[~2012-08-19 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 19:42 Question on SLAB allocator Jean-Christophe DUBOIS
2012-08-19 21:18 ` Andi Kleen [this message]

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=m2obm68trx.fsf@firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=jcd@tribudubois.net \
    --cc=linux-kernel@vger.kernel.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.