DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Dec 2008 04:52:41 -0800 (PST)

commit 0f7585238463a8fc3f76acd17deef393fa6efb84
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]