Re: Porting kref to a 2.4 kernel (2.4.20 or greater)

From: Hareesh Nagarajan
Date: Wed Jun 15 2005 - 17:41:03 EST


Greg KH wrote:
On Wed, Jun 15, 2005 at 10:20:04AM -0700, Hareesh Nagarajan wrote:

What stumbling blocks do you think I would encounter if I wanted to port kref to a 2.4.xx kernel? Is kref tightly coupled with the kernel object infrastructure found in the 2.6.xx kernel?

Have you looked at the kref code to see if there is any such coupling?

Not really. Kref seems pretty light and loosely coupled with the 2.6 kernel. There just appears to be a C file (and a .h of course).

Can you describe any problems you are having doing the uncoupling?

I'm having problems porting the KObject and Work Queue infrastructure to the 2.4 kernel. Any ideas if anyone has tried this port?

What do you want this in the 2.4 kernel for?

I need to port RelayFS into a 2.4 kernel.

You know that no new
features are being accepted for that tree, right?

Yes, I am aware of that :(

Thank you very much!

Hareesh
-= Engineering Intern =-
cs.uic.edu/~hnagaraj
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/