linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org
Subject: Re: Slab API: Remove useless ctor parameter and reorder parameters
Date: Wed, 25 Jul 2007 11:56:27 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0707251153540.8731@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <84144f020707250333gc1c2f01l24c7b9ff6211a489@mail.gmail.com>

On Wed, 25 Jul 2007, Pekka Enberg wrote:

> We're gonna have API breakage with kmem_cache_ops thing too, right?

Not in the initial envisioned form. The unused pointer argument would have 
simply change type leaving kmem_cache_create as is.

Now we may have to add a function to set the kmem_cache_ops to avoid 
API changes. Or we change the ctor type argument to be kmem_cache_ops * 
(as you wanted earlier). However that would require allocating a 
kmem_cache_ops structure for each slab that uses an initializer.

--
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-07-25 18:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  5:48 Christoph Lameter
2007-07-24  7:26 ` Christoph Lameter
2007-07-24 23:59 ` Andrew Morton
2007-07-25  0:35   ` Christoph Lameter
2007-07-25  0:53     ` Andrew Morton
2007-07-25  3:15       ` Christoph Lameter
2007-07-25 10:33         ` Pekka Enberg
2007-07-25 18:56           ` Christoph Lameter [this message]
2007-09-14 22:17 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=Pine.LNX.4.64.0707251153540.8731@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=penberg@cs.helsinki.fi \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox