From owner-cvs-all@FreeBSD.ORG Sun Jul 11 22:59:32 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3D7916A4CE; Sun, 11 Jul 2004 22:59:32 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E5C43D1F; Sun, 11 Jul 2004 22:59:32 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6BMxW1F089848; Sun, 11 Jul 2004 22:59:32 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6BMxWrI089847; Sun, 11 Jul 2004 22:59:32 GMT (envelope-from rwatson) Message-Id: <200407112259.i6BMxWrI089847@repoman.freebsd.org> From: Robert Watson Date: Sun, 11 Jul 2004 22:59:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 22:59:32 -0000 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