From owner-cvs-src@FreeBSD.ORG Sun Jun 27 03:22:38 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93D2916A4CE; Sun, 27 Jun 2004 03:22:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7470643D45; Sun, 27 Jun 2004 03:22:38 +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 i5R3MFEw086772; Sun, 27 Jun 2004 03:22:15 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5R3MFK7086771; Sun, 27 Jun 2004 03:22:15 GMT (envelope-from rwatson) Message-Id: <200406270322.i5R3MFK7086771@repoman.freebsd.org> From: Robert Watson Date: Sun, 27 Jun 2004 03:22:15 +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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 03:22:38 -0000 rwatson 2004-06-27 03:22:15 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: Add a new global mutex, so_global_mtx, which protects the global variables so_gencnt, numopensockets, and the per-socket field so_gencnt. Annotate this this might be better done with atomic operations. Annotate what accept_mtx protects. Revision Changes Path 1.191 +26 -2 src/sys/kern/uipc_socket.c