From owner-cvs-src@FreeBSD.ORG Sat Jun 10 19:59:16 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D136B16A512; Sat, 10 Jun 2006 19:59:16 +0000 (UTC) (envelope-from arr@watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D81544D82; Sat, 10 Jun 2006 19:01:21 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.13.4/8.13.4) with ESMTP id k5AJ1KVQ086482; Sat, 10 Jun 2006 15:01:20 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.13.4/8.13.4/Submit) with ESMTP id k5AJ1JKP086479; Sat, 10 Jun 2006 15:01:20 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Sat, 10 Jun 2006 15:01:19 -0400 (EDT) From: "Andrew R. Reiter" To: Robert Watson In-Reply-To: <200606101434.k5AEY8wd046400@repoman.freebsd.org> Message-ID: <20060610150023.H86105@fledge.watson.org> References: <200606101434.k5AEY8wd046400@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_mbuf.c sys_pipe.c sysv_msg.c sysv_sem.c sysv_shm.c uipc_mbuf.c uipc_socket.c uipc_socket2.c uipc_syscalls.c src/sys/sys socketvar.h sysctl.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 19:59:16 -0000 On Sat, 10 Jun 2006, Robert Watson wrote: :rwatson 2006-06-10 14:34:08 UTC : : FreeBSD src repository : : Modified files: : sys/kern kern_mbuf.c sys_pipe.c sysv_msg.c : sysv_sem.c sysv_shm.c uipc_mbuf.c : uipc_socket.c uipc_socket2.c : uipc_syscalls.c : sys/sys socketvar.h sysctl.h : Log: : Move some functions and definitions from uipc_socket2.c to uipc_socket.c: : : - Move sonewconn(), which creates new sockets for incoming connections on : listen sockets, so that all socket allocate code is together in : uipc_socket.c. : : - Move 'maxsockets' and associated sysctls to uipc_socket.c with the : socket allocation code. : : - Move kern.ipc sysctl node to uipc_socket.c, add a SYSCTL_DECL() for it : to sysctl.h and remove lots of scattered implementations in various : IPC modules. : : - Sort sodealloc() after soalloc() in uipc_socket.c for dependency order : reasons. Statisticize soalloc() and sodealloc() as they are now : required only in uipc_socket.c, and are internal to the socket : implementation. : : After this change, socket allocation and deallocation is entirely : centralized in one file, and uipc_socket2.c consists entirely of socket : buffer manipulation and default protocol switch functions. Any thoughts on modifying file name of uipc_socket2.c to something more consistent with the contents of the file? Thanks for your hard work. Cheers, Andrew : : MFC after: 1 month : : Revision Changes Path : 1.25 +0 -1 src/sys/kern/kern_mbuf.c : 1.187 +0 -2 src/sys/kern/sys_pipe.c : 1.61 +0 -1 src/sys/kern/sysv_msg.c : 1.79 +0 -1 src/sys/kern/sysv_sem.c : 1.106 +0 -1 src/sys/kern/sysv_shm.c : 1.166 +0 -1 src/sys/kern/uipc_mbuf.c : 1.268 +171 -36 src/sys/kern/uipc_socket.c : 1.157 +0 -138 src/sys/kern/uipc_socket2.c : 1.229 +0 -1 src/sys/kern/uipc_syscalls.c : 1.149 +0 -2 src/sys/sys/socketvar.h : 1.141 +1 -0 src/sys/sys/sysctl.h :_______________________________________________ :cvs-all@freebsd.org mailing list :http://lists.freebsd.org/mailman/listinfo/cvs-all :To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" : : -- arr@watson.org