[Devel] Re: [PATCH][NETNS] Consolidate hashes creation in netdev_init()

David Miller davem at davemloft.net
Sun Sep 16 15:40:54 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Fri, 14 Sep 2007 12:40:49 +0400

> The dev_name_hash and the dev_index_hash are now booth kmalloc-ed
> (and each element is properly initialized as usually) so I think
> it's worth consolidating this code making it look nicer (and 
> saving 28 bytes of .text section ;) )
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied to net-2.6.24, thanks Pavel.




More information about the Devel mailing list