[Ocfs2-devel] [PATCH 03/18] ocfs2: Handle missing dtor in kmem_cache_create()
Sunil Mushran
sunil.mushran at oracle.com
Thu Nov 12 18:37:01 PST 2009
Joel Becker wrote:
> On Thu, Nov 12, 2009 at 05:47:24PM -0800, Sunil Mushran wrote:
>
>> Mainline commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac removed the
>> dtor arg from kmem_cache_create(). Patch adds a kapi macro that adds
>> a dtor arg when building against EL5 kernels.
>>
>
> Question: Do you want to support an assortment of mainline
> kernels, or only "2.6.32" and "2.6.18-el"? Because there are a number
> of slab things that happened. I'm not sure which all apply to el5
> anymore. Not only did the destructor go away, so did the flag
> SLAB_CTOR_VERIFY, and the init_once constructors changed prototype.
> Here was my solution:
>
> http://oss.oracle.com/git/oracleasm.git/?p=oracleasm.git;a=commit;h=0888fd1be3d15ab3c7f504c8969c101f7d5d39fd
>
> (Note that there are a couple of later commits to fix typos)
>
Only EL5 U4. The idea is to be able to able to build against 2.6.32.
But we only support running against EL5 U4.
More information about the Ocfs2-devel
mailing list