Subject: CVS commit: syssrc/sys/netinet
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/27/2002 04:47:59
Module Name: syssrc
Committed By: thorpej
Date: Sat Apr 27 01:47:59 UTC 2002
Modified Files:
syssrc/sys/netinet: tcp_output.c tcp_subr.c
Log Message:
* Instrument tcp_build_datapkt().
* Remove the code that allocates a cluster if the packet would
fit in one; it totally defeats doing references to M_EXT mbufs
in the socket buffer. This drastically reduces the number of
data copies in the tcp_output() path for applications which use
large writes. Kudos to Matt Thomas for pointing me in the right
direction.
To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 syssrc/sys/netinet/tcp_output.c
cvs rdiff -r1.124 -r1.125 syssrc/sys/netinet/tcp_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.