From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261618AbVFOWsV (ORCPT ); Wed, 15 Jun 2005 18:48:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261619AbVFOWsV (ORCPT ); Wed, 15 Jun 2005 18:48:21 -0400 Received: from 216-239-45-4.google.com ([216.239.45.4]:39997 "EHLO 216-239-45-4.google.com") by vger.kernel.org with ESMTP id S261618AbVFOWsA (ORCPT ); Wed, 15 Jun 2005 18:48:00 -0400 Message-ID: <42B0B017.60001@google.com> Date: Wed, 15 Jun 2005 15:47:51 -0700 From: Hareesh Nagarajan User-Agent: Mozilla Thunderbird 1.0 (X11/20050207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg KH CC: linux-kernel@vger.kernel.org Subject: Re: Porting kref to a 2.4 kernel (2.4.20 or greater) References: <42B06344.4040909@google.com> <20050615220734.GC620@kroah.com> In-Reply-To: <20050615220734.GC620@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Correction: (Appears with a *) 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? (Correction: * => I meant KThread) Sorry about that! Hareesh -= Engineering Intern =- cs.uic.edu/~hnagaraj