From: Eric Dumazet Date: Sun, 19 Sep 2010 18:24:02 +0000 (-0700) Subject: net: reorder struct netdev_hw_addr X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f8f103d8466e627ecef7894248eb79407d9047c;p=openwrt%2Fstaging%2Fblogic.git net: reorder struct netdev_hw_addr Move 'synced' and 'global_use' fields before 'refcount', to shrinks struct netdev_hw_addr by 8 bytes (on 64bit arches). Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index ec17887a5bca..f7f1302138af 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -228,9 +228,9 @@ struct netdev_hw_addr { #define NETDEV_HW_ADDR_T_SLAVE 3 #define NETDEV_HW_ADDR_T_UNICAST 4 #define NETDEV_HW_ADDR_T_MULTICAST 5 - int refcount; bool synced; bool global_use; + int refcount; struct rcu_head rcu_head; };