Subject: CVS commit: syssrc/sys/netinet
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 09/11/2001 01:14:29
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Sep 10 22:14:29 UTC 2001

Modified Files:
	syssrc/sys/netinet: tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c
	    tcp_timer.h tcp_var.h

Log Message:
Use callouts for TCP timers, rather than traversing the list of
all open TCP connections in tcp_slowtimo() (which is called 2x
per second).  It's fairly rare for TCP timers to actually fire,
so saving this list traversal is good, especially if you want
to scale to thousands of open connections.


To generate a diff of this commit:
cvs rdiff -r1.128 -r1.129 syssrc/sys/netinet/tcp_input.c
cvs rdiff -r1.73 -r1.74 syssrc/sys/netinet/tcp_output.c
cvs rdiff -r1.117 -r1.118 syssrc/sys/netinet/tcp_subr.c
cvs rdiff -r1.52 -r1.53 syssrc/sys/netinet/tcp_timer.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/netinet/tcp_timer.h
cvs rdiff -r1.85 -r1.86 syssrc/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.