OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][NETNS] Consolidate hashes creation in netdev_init()
Re: [PATCH][NETNS] Consolidate hashes creation in netdev_init() [message #20327 is a reply to message #20254] Sun, 16 September 2007 22:40 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@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@openvz.org>

Applied to net-2.6.24, thanks Pavel.
 
Read Message
Read Message
Previous Topic: [PATCH] net: Fix the prototype of call_netdevice_notifiers
Next Topic: [PATCH] Cleanup calling netdev notifiers
Goto Forum:
  


Current Time: Sun Aug 24 23:12:03 GMT 2025

Total time taken to generate the page: 0.06096 seconds