Re: [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n (v2)

2007-10-08 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 17:20:01 +0400 > With the net namespaces many code leaved the __init section, > thus making the kernel occupy more memory than it did before. > Since we have a config option that prohibits the namespace > creation, the functions that

[PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n (v2)

2007-10-08 Thread Pavel Emelyanov
With the net namespaces many code leaved the __init section, thus making the kernel occupy more memory than it did before. Since we have a config option that prohibits the namespace creation, the functions that initialize/finalize some netns stuff are simply not needed and can be freed after the bo

Re: [Devel] [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

2007-10-08 Thread David Miller
From: David Miller <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 00:17:16 -0700 (PDT) > I'm going to apply Pavel's patch, if you want to touch it up do so > as a followon patch, thanks! Actually, I take that back, it doesn't even build, I'm therefore removing the patch: LD .tmp_vmlinux1 `.ex

Re: [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

2007-10-08 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Thu, 04 Oct 2007 17:54:11 +0400 > With the net namespaces many code leaved the __init section, > thus making the kernel occupy more memory than it did before. > Since we have a config option that prohibits the namespace > creation, the functions that

Re: [Devel] [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

2007-10-08 Thread David Miller
From: Alexey Dobriyan <[EMAIL PROTECTED]> Date: Thu, 4 Oct 2007 18:02:02 +0400 > On Thu, Oct 04, 2007 at 05:54:11PM +0400, Pavel Emelyanov wrote: > > With the net namespaces many code leaved the __init section, > > thus making the kernel occupy more memory than it did before. > > Since we have a c

Re: [Devel] [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

2007-10-04 Thread Alexey Dobriyan
On Thu, Oct 04, 2007 at 05:54:11PM +0400, Pavel Emelyanov wrote: > With the net namespaces many code leaved the __init section, > thus making the kernel occupy more memory than it did before. > Since we have a config option that prohibits the namespace > creation, the functions that initialize/fina

[PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

2007-10-04 Thread Pavel Emelyanov
With the net namespaces many code leaved the __init section, thus making the kernel occupy more memory than it did before. Since we have a config option that prohibits the namespace creation, the functions that initialize/finalize some netns stuff are simply not needed and can be freed after the bo