[Pvfs2-users] Segmentation fault on insmod pvfs2.ko
(pvfs2.6.3-patched, kernel 2.6.22-rc4)
Murali Vilayannur
murali.vilayannur at gmail.com
Wed Jun 27 13:20:29 EDT 2007
Hi pete,
Agreed. What I meant to say was that the kmem_cache_create interface
may be deprecated soon. Instead of phasing out an argument, a BUG() in
the kernel ensures that 3rd party folks such as us fix this issue
before the actual release of the 2.6.22 kernel.
How about the following patch? I have only compile tested it and made
sure that it loads on my machine. But I don't run the latest kernels
and so that is not such a good test..:)
thanks,
Murali
On 6/27/07, Pete Wyckoff <pw at osc.edu> wrote:
> murali.vilayannur at gmail.com wrote on Wed, 27 Jun 2007 08:14 -0700:
> > Ah pete! thanks for the clarification. I was looking at 2.6.21 hoping
> > that that would be the latest.
> > It does look like a new ish kernel feature. I am sorta out of the loop
> > on the newest kernel issues :(
> > Let me look at the code a little bit and work on a patch and send it
> > later today.
> > Basically, SLAB is deprecated. We need to find out an alternate
> > way/interface.
>
> The verdict is still quite out on SLAB vs the other allocators. But
> regardless, they'll all have the same interface. And that interface
> no longer accepts a destructor function. We might as well get used
> to it.
>
> Regarding us wasting our time with these pre-release kernels.
> Agreed it's a major pain to deal with, and we don't want to waste
> time adapting to the daily changes in linux, especially as
> reversions are not completely uncommon. But for modifications that
> are likely to stick, including the previous slab one mvdv ran into
> at compile time, it's a question of fix it now or fix it later.
>
> We could always just dump the code and go with the fuse version. :)
>
> -- Pete
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs.patch
Type: text/x-patch
Size: 3176 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20070627/3736be82/pvfs.bin
More information about the Pvfs2-users
mailing list