[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1ac0g6z7o.fsf@ebiederm.dsl.xmission.com>
Date: Thu, 18 Jan 2007 10:07:07 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Stephen Hemminger <shemminger@...l.org>
Cc: Dmitry Mishin <dim@...nvz.org>, containers@...ts.osdl.org,
alexey@...ru, netdev@...r.kernel.org, saw@...ru
Subject: Re: [PATCH 8/12] net_device seq_file
Stephen Hemminger <shemminger@...l.org> writes:
> On Wed, 17 Jan 2007 19:11:52 +0300
> Dmitry Mishin <dim@...nvz.org> wrote:
>
>> Library function to create a seq_file in proc filesystem,
>> showing some information for each netdevice.
>> This code is present in the kernel in about 10 instances, and
>> all of them can be converted to using introduced library function.
>>
>> Signed-off-by: Andrey Savochkin <saw@...oft.com>
>
> But the implementations can use static data rather than allocation,
> also the long term desire is to get rid of supporting most of these proc
> interfaces.
While we do have the interfaces we need to support them, and not
let them bit rot.
That said so long as we have to individually register and unregister
proc entries it is an active measure by the caller and they should
be able to handle allocation and freeing of data structures as well.
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists