From owner-cvs-all@FreeBSD.ORG Wed Apr 11 14:08:56 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 038FF16A400; Wed, 11 Apr 2007 14:08:56 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.freebsd.org (Postfix) with ESMTP id B573213C45D; Wed, 11 Apr 2007 14:08:55 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from msd-corb.mbrd.ru ([213.234.223.213] helo=[172.16.33.193]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1Hbd4Z-000Ms0-CV; Wed, 11 Apr 2007 17:41:19 +0400 Message-ID: <461CE535.3090901@FreeBSD.org> Date: Wed, 11 Apr 2007 17:40:05 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Andre Oppermann References: <200704110945.l3B9jGwE015632@repoman.freebsd.org> In-Reply-To: <200704110945.l3B9jGwE015632@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 11 Apr 2007 22:03:58 +0000 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 14:08:56 -0000 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.