aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2005-10-04 15:55:51 -0700
committerDavid S. Miller <davem@davemloft.net>2005-10-04 15:55:51 -0700
commit6d2553612fa329979e6423a5f2410fd7be5aa902 (patch)
treebebd8e4f7ab462ab31e02e842b82a68ff17dc7b7 /net
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadlinux-dev-6d2553612fa329979e6423a5f2410fd7be5aa902.tar.xz
linux-dev-6d2553612fa329979e6423a5f2410fd7be5aa902.zip
[INET]: Shrink struct inet_ehash_bucket on 32 bits UP
No need to align struct inet_ehash_bucket on a 8 bytes boundary. On 32 bits Uniprocessor, that's a waste of 4 bytes per struct (50 %) On other platforms, the attribute is useless, natual alignement is already 8. platform | Size before | Size after patch -------------+-------------+------------------ 32 bits, UP | 8 | 4 32 bits, SMP | 8 | 8 64 bits, UP | 8 | 8 64 bits, SMP | 16 | 16 Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions