public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: werner <werner@copaya.yi.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Incompatibilities of kmem_cache_create
Date: Sat, 21 Jul 2007 15:20:32 +0900	[thread overview]
Message-ID: <20070721062032.GA1814@linux-sh.org> (raw)
In-Reply-To: <1184997001.28478@werner>

On Sat, Jul 21, 2007 at 02:50:01AM -0300, werner wrote:
> Of the kernel 2.6.22-git15 of this night,  kmem_cache_create is not
> compatible and causes compiling errors of some fundamental programs.
> Before, this error didnt occur.
> 
Slab destructors haven't been supported in the kernel for ages, anything
that's relying on them to work out-of-tree is fundamentally broken.

> At least this happened on compiling the externel modules for btrfs and
> ndiskwrapper.    Principally the compatibility of the Kernel with older
> and new versions of the file systems have to be observed very good, for
> the reliability to can read dates.
> 
> Thus this should be checked, and corrected
> 
Indeed it should. You can correct this by removing the extraneous NULL
parameter for the slab dtor from the kmem_cache_create() callsite in the
out-of-tree code. All of the in-tree users were already converted.

  reply	other threads:[~2007-07-21  6:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21  5:50 Incompatibilities of kmem_cache_create werner
2007-07-21  6:20 ` Paul Mundt [this message]
2007-07-24  3:02   ` 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=20070721062032.GA1814@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=werner@copaya.yi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox