From: Eric Dumazet Date: Thu, 16 Sep 2010 02:58:13 +0000 (+0000) Subject: net: shrinks struct net_device X-Git-Tag: v2.6.37-rc1~147^2~419 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd13539b8bc9ae884e6d8d9374c594adff4304e4;p=pandora-kernel.git net: shrinks struct net_device commit ab95bfe01 (net: replace hooks in __netif_receive_skb) added rx_handler at wrong place, between two cache line aligned objects, creating a big hole (a full cache line) Move rx_handler and rx_handler_data before rx_queue, filling existing hole. Move master field in the cache line(s) used in receive path. This saves 64 bytes (or L1_CACHE_BYTES), and avoids two possible cache misses in receive path. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed