DragonFly-2.1.1.29.g0f758 master sys/netinet tcp_debug.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Dec 5 04:53:22 PST 2008
commit 0f7585238463a8fc3f76acd17deef393fa6efb84
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Nov 30 16:56:16 2008 +0800
Defer various TCP timer function from callout threads to TCP threads; mainly
to avoid possible threading races, e.g. when output processing blocking the
current thread. To save space, only one netmsg is used and is embedded in
tcpcb. The timer functions needed to be carried out are indicated by the
tasks field in the netmsg.
Reviewed-by: dillon@
Discussed-with: dillon@
With-input-from: hsu@
Tested-by: hasso@
Summary of changes:
sys/netinet/tcp_debug.c | 2 +
sys/netinet/tcp_subr.c | 17 +++
sys/netinet/tcp_syncache.c | 1 +
sys/netinet/tcp_timer.c | 241 ++++++++++++++++++++++++++++++++++++-------
sys/netinet/tcp_timer.h | 12 ++
sys/netinet/tcp_usrreq.c | 3 +
sys/netinet/tcp_var.h | 5 +-
7 files changed, 240 insertions(+), 41 deletions(-)
http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=0f7585238463a8fc3f76acd17deef393fa6efb84
--
DragonFly BSD source repository
More information about the Commits
mailing list