Date: Sun, 11 Jul 2004 22:59:32 +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_socket.c Message-ID: <200407112259.i6BMxWrI089847@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-07-11 22:59:32 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
Log:
Add sockbuf_pushsync(), an inline function that, following a change to
the head of the mbuf chains in a socket buffer, re-synchronizes the
cache pointers used to optimize socket buffer appends. This will be
used by soreceive() before dropping socket buffer mutexes to make sure
a consistent version of the socket buffer is visible to other threads.
While here, update copyright to account for substantial rewrite of much
socket code required for fine-grained locking.
Revision Changes Path
1.200 +38 -0 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407112259.i6BMxWrI089847>
