Date: Wed, 11 Apr 2007 17:40:05 +0400 From: Sergey Matveychuk <sem@FreeBSD.org> To: Andre Oppermann <andre@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h Message-ID: <461CE535.3090901@FreeBSD.org> In-Reply-To: <200704110945.l3B9jGwE015632@repoman.freebsd.org> References: <200704110945.l3B9jGwE015632@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Please note, it broke build world. Andre Oppermann wrote: > andre 2007-04-11 09:45:16 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_input.c tcp_output.c tcp_sack.c > tcp_subr.c tcp_syncache.c tcp_timer.c > tcp_timer.h tcp_usrreq.c tcp_var.h > Log: > Change the TCP timer system from using the callout system five times > directly to a merged model where only one callout, the next to fire, > is registered. > > Instead of callout_reset(9) and callout_stop(9) the new function > tcp_timer_activate() is used which then internally manages the callout. > > The single new callout is a mutex callout on inpcb simplifying the > locking a bit. > > tcp_timer() is the called function which handles all race conditions > in one place and then dispatches the individual timer functions. > > Reviewed by: rwatson (earlier version) > > Revision Changes Path > 1.335 +22 -30 src/sys/netinet/tcp_input.c > 1.132 +25 -28 src/sys/netinet/tcp_output.c > 1.38 +1 -1 src/sys/netinet/tcp_sack.c > 1.274 +14 -15 src/sys/netinet/tcp_subr.c > 1.109 +1 -1 src/sys/netinet/tcp_syncache.c > 1.90 +300 -176 src/sys/netinet/tcp_timer.c > 1.33 +16 -5 src/sys/netinet/tcp_timer.h > 1.150 +10 -8 src/sys/netinet/tcp_usrreq.c > 1.142 +3 -7 src/sys/netinet/tcp_var.h > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" -- Dixi. Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461CE535.3090901>