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