diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-20 13:36:50 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 21:46:22 +0000 |
commit | c3dccf48174e50668b7c63544ac8c60c07a45978 (patch) | |
tree | 9197f69ef539330373d609b334bfdd67fd4aa207 /fs/nfs/sysctl.c | |
parent | CIFS: Implement cifs_strict_readv (try #4) (diff) | |
download | linux-dev-c3dccf48174e50668b7c63544ac8c60c07a45978.tar.xz linux-dev-c3dccf48174e50668b7c63544ac8c60c07a45978.zip |
cifs: TCP_Server_Info diet
Remove fields that are completely unused, and rearrange struct
according to recommendations by "pahole".
Before:
/* size: 1112, cachelines: 18, members: 49 */
/* sum members: 1086, holes: 8, sum holes: 26 */
/* bit holes: 1, sum bit holes: 7 bits */
/* last cacheline: 24 bytes */
After:
/* size: 1072, cachelines: 17, members: 42 */
/* sum members: 1065, holes: 3, sum holes: 7 */
/* last cacheline: 48 bytes */
...savings of 40 bytes per struct on x86_64. 21 bytes by field removal,
and 19 by reorganizing to eliminate holes.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/nfs/sysctl.c')
0 files changed, 0 insertions, 0 deletions