]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IPSEC] flow: reorder "struct flow_cache_entry" and remove SLAB_HWCACHE_ALIGN
authorEric Dumazet <dada1@cosmosbay.com>
Fri, 8 Feb 2008 07:30:42 +0000 (23:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 07:30:42 +0000 (23:30 -0800)
commitdd5a1843d566911dbb077c4022c4936697495af6
tree4c1bb92ae463f8aa9ad4a4f3fa0eb5b26c734e18
parentfca09fb732b2cc310110b2fcbf3449df043a96d0
[IPSEC] flow: reorder "struct flow_cache_entry" and remove SLAB_HWCACHE_ALIGN

1) We can shrink sizeof(struct flow_cache_entry) by 8 bytes on 64bit arches.
2) No need to align these structures to hardware cache lines, this only waste
   ram for very litle gain.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow.c