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 config

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

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