* Incompatibilities of kmem_cache_create
@ 2007-07-21 5:50 werner
2007-07-21 6:20 ` Paul Mundt
0 siblings, 1 reply; 3+ messages in thread
From: werner @ 2007-07-21 5:50 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
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.
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
Werner Landgraf
werner@copaya.yi.org
www.copaya.yi.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Incompatibilities of kmem_cache_create
2007-07-21 5:50 Incompatibilities of kmem_cache_create werner
@ 2007-07-21 6:20 ` Paul Mundt
2007-07-24 3:02 ` Christoph Lameter
0 siblings, 1 reply; 3+ messages in thread
From: Paul Mundt @ 2007-07-21 6:20 UTC (permalink / raw)
To: werner; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Incompatibilities of kmem_cache_create
2007-07-21 6:20 ` Paul Mundt
@ 2007-07-24 3:02 ` Christoph Lameter
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2007-07-24 3:02 UTC (permalink / raw)
To: Paul Mundt; +Cc: werner, linux-kernel
On Sat, 21 Jul 2007, Paul Mundt wrote:
> 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.
Slab destructors were supported and used in Linux kernels up to
version 2.6.20. They were removed late in the 2.6.21 merge cycle.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-24 3:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-21 5:50 Incompatibilities of kmem_cache_create werner
2007-07-21 6:20 ` Paul Mundt
2007-07-24 3:02 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox