From owner-cvs-sys Mon Mar 11 07:37:53 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA15857 for cvs-sys-outgoing; Mon, 11 Mar 1996 07:37:53 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA15838 Mon, 11 Mar 1996 07:37:45 -0800 (PST) Date: Mon, 11 Mar 1996 07:37:45 -0800 (PST) From: David Greenman Message-Id: <199603111537.HAA15838@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c uipc_syscalls.c src/sys/sys socketvar.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/03/11 07:37:45 Modified: sys/kern uipc_socket.c uipc_socket2.c uipc_syscalls.c sys/sys socketvar.h Log: Changed socket code to use 4.4BSD queue macros. This includes removing the obsolete soqinsque and soqremque functions as well as collapsing so_q0len and so_qlen into a single queue length of unaccepted connections. Now the queue of unaccepted & complete connections is checked directly for queued sockets. The new code should be functionally equivilent to the old while being substantially faster - especially in cases where large numbers of connections are often queued for accept (e.g. http). Revision Changes Path 1.16 +23 -10 src/sys/kern/uipc_socket.c 1.9 +22 -57 src/sys/kern/uipc_socket2.c 1.16 +21 -17 src/sys/kern/uipc_syscalls.c 1.13 +21 -20 src/sys/sys/socketvar.h