linux-kernelorg-stable/include
Ilpo Järvinen 0c54b85f28 tcp: simplify tcp_current_mss
There's very little need for most of the callsites to get
tp->xmit_goal_size updated. That will cost us divide as is,
so slice the function in two. Also, the only users of the
tp->xmit_goal_size are directly behind tcp_current_mss(),
so there's no need to store that variable into tcp_sock
at all! The drop of xmit_goal_size currently leaves 16-bit
hole and some reorganization would again be necessary to
change that (but I'm aiming to fill that hole with u16
xmit_goal_size_segs to cache the results of the remaining
divide to get that tso on regression).

Bring xmit_goal_size parts into tcp.c

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-15 20:09:54 -07:00
..
acpi
asm-arm
asm-frv Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-24 03:50:29 -08:00
asm-generic
asm-h8300
asm-m32r
asm-mn10300
crypto
drm drm: disable encoders before re-routing them 2009-02-25 14:42:23 +10:00
keys
linux tcp: simplify tcp_current_mss 2009-03-15 20:09:54 -07:00
math-emu
media
mtd
net tcp: simplify tcp_current_mss 2009-03-15 20:09:54 -07:00
pcmcia
rdma
rxrpc
scsi
sound
trace Network Drop Monitor: Add trace declaration for skb frees 2009-03-13 12:09:27 -07:00
video
xen
Kbuild