]> err.no Git - linux-2.6/commit
net: remove padding from struct socket on 64bit & increase objects/cache
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 8 Jul 2008 10:03:01 +0000 (03:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 10:03:01 +0000 (03:03 -0700)
commit2c693610fe923764fe41b846fb86938a2010da6e
treef104646dc005a69f235053a9aee844376a2e41cc
parent4ad3f26162ece5aca3045fd45e15dd99acea4a0e
net: remove padding from struct socket on 64bit & increase objects/cache

remove padding from struct socket reducing its size by 8 bytes.

This allows more objects/cache in sock_inode_cache
12 objects/cache when cacheline size is 128 (generic x86_64)

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h