Date: Sat, 1 Mar 2008 15:40:53 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_sockbuf.c uipc_socket.c src/sys/sys socketvar.h Message-ID: <200803011540.m21FerSv041814@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-01 15:40:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_sockbuf.c uipc_socket.c sys/sys socketvar.h Log: Merge uipc_sockbuf.c:1.176, uipc_socket.c:1.305, socketvar.h:1.162 from HEAD to RELENG_7: Further clean up sorflush: - Expose sbrelease_internal(), a variant of sbrelease() with no expectations about the validity of locks in the socket buffer. - Use sbrelease_internel() in sorflush(), and as a result avoid initializing and destroying a socket buffer lock for the temporary stack copy of the actual buffer, asb. - Add a comment indicating why we do what we do, and remove an XXX since things have gotten less ugly in sorflush() lately. This makes socket close cleaner, and possibly also marginally faster. Revision Changes Path 1.171.2.3 +1 -2 src/sys/kern/uipc_sockbuf.c 1.302.2.2 +12 -12 src/sys/kern/uipc_socket.c 1.158.2.2 +1 -0 src/sys/sys/socketvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011540.m21FerSv041814>