summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/atomic.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-11-28 00:48:32 -0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:30:53 -0800
commit2ff52f282cf287d60e9eda1f3b5ec83e00a86130 (patch)
tree1838d36bbe158bb5e82d7f4b5b699e8b685930e1 /include/asm-ia64/atomic.h
parent5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e (diff)
downloadop-kernel-dev-2ff52f282cf287d60e9eda1f3b5ec83e00a86130.zip
op-kernel-dev-2ff52f282cf287d60e9eda1f3b5ec83e00a86130.tar.gz
[TCP]: Change tcp_header_len member in tcp_sock to u16
With this we eliminate the last hole in struct tcp_sock. End result: [acme@newtoy net-2.6.20]$ codiff -sV /tmp/tcp.o.before net/ipv4/tcp.o /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ipv4/tcp.c: struct tcp_sock | -4 tcp_header_len; from: int /* 1000(0) 4(0) */ to: u16 /* 1000(0) 2(0) */ 1 struct changed [acme@newtoy net-2.6.20]$ Now sizeof(tcp_sock) is just... [acme@newtoy net-2.6.20]$ pahole --sizes ../OUTPUT/qemu/net-2.6.20/net/ipv4/tcp.o | grep -w tcp_sock struct tcp_sock: 1500 0 1500 bytes ;-) Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include/asm-ia64/atomic.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud