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

Andrew R. Reiter arr at watson.org
Sat Jun 10 19:59:16 UTC 2006


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 at freebsd.org mailing list
:http://lists.freebsd.org/mailman/listinfo/cvs-all
:To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
:
:

--
arr at watson.org


More information about the cvs-all mailing list