From owner-svn-src-head@FreeBSD.ORG Thu Jan 7 20:35:37 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27794106568B; Thu, 7 Jan 2010 20:35:37 +0000 (UTC) (envelope-from philip@paeps.cx) Received: from rincewind.paeps.cx (rincewind.paeps.cx [IPv6:2002:596a:f092::149]) by mx1.freebsd.org (Postfix) with ESMTP id D92688FC18; Thu, 7 Jan 2010 20:35:36 +0000 (UTC) Received: by rincewind.paeps.cx (Postfix, from userid 1001) id 46AF2D74404; Thu, 7 Jan 2010 21:35:36 +0100 (CET) Date: Thu, 7 Jan 2010 21:35:36 +0100 From: Philip Paeps To: Luigi Rizzo Message-ID: <20100107203536.GB8230@rincewind.paeps.cx> Mail-Followup-To: Luigi Rizzo , Michael Tuexen , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201001041825.o04IPcXb043347@svn.freebsd.org> <20100104190024.GA47532@onelab2.iet.unipi.it> <517EF225-7EEB-4844-A0AD-019AD72F9403@freebsd.org> <20100104222323.GA49068@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100104222323.GA49068@onelab2.iet.unipi.it> X-PGP-Fingerprint: 356B AE02 4763 F739 2FA2 E438 2649 E628 C5D3 4D05 X-Date: Today is Boomtime, the 7th day of Chaos in the YOLD 3176 X-Phase-of-Moon: The Moon is Waning Crescent (46% of Full) X-Philip-Conspiracy: There is no conspiracy Organization: Happily Disorganized User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Michael Tuexen Subject: Re: moving sctp to a separate directory ? (Re: svn commit: r201523 - head/sys/netinet) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 20:35:37 -0000 On 2010-01-04 23:23:23 (+0100), Luigi Rizzo wrote: > This was the reason why I moved ipfw-related stuff out of the way > and plan to do the same with tcp unless someone precedes me. Please discuss this on -net or so first. I have worked in an environment where tcp was moved out of netinet when it was imported (around 2.2.8-time) and it opens the door to a number of strange phenomena. What do you do with udp, for instance? Compared to tcp and sctp, it's trivial in terms of code, but it's an upper layer protocol from the perspective of netinet/netinet6 - do we put it in its own directory too? Also note that this won't only cause churn for people who have patches against or (out-of-tree) branches from netinet/, but also in other kernel subsystems which rely on tcp -- nfs, for instance. I would be very hesitant to do this... > Just checked, in 2.2 (which was some 12 years ago) netinet/ > had 46 files and 21k lines, of which tcp accounted for 13 files/6K lines. > Compare with 156 files/153k lines (tcp: 24 files, 16k lines) in HEAD now. TCP has got a bit more complicated in its old age. :-) I think the naming convention we have under netinet/ is clear enough... We don't pay per dirent these days. - Philip -- Philip Paeps Please don't Cc me, I am philip@freebsd.org subscribed to the list.