[Devel] Re: [PATCH 8/12] net_device seq_file
Eric W. Biederman
ebiederm at xmission.com
Thu Jan 18 09:07:07 PST 2007
Stephen Hemminger <shemminger at osdl.org> writes:
> On Wed, 17 Jan 2007 19:11:52 +0300
> Dmitry Mishin <dim at openvz.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 at swsoft.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
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
More information about the Devel
mailing list