From owner-cvs-all@FreeBSD.ORG Wed Aug 2 00:45:28 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0CD5216A4E7; Wed, 2 Aug 2006 00:45:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA78743D49; Wed, 2 Aug 2006 00:45:27 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k720jRi9066011; Wed, 2 Aug 2006 00:45:27 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k720jR0x066010; Wed, 2 Aug 2006 00:45:27 GMT (envelope-from rwatson) Message-Id: <200608020045.k720jR0x066010@repoman.freebsd.org> From: Robert Watson Date: Wed, 2 Aug 2006 00:45:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 02 Aug 2006 00:45:28 -0000 rwatson 2006-08-02 00:45:27 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: Move updated of 'numopensockets' from bottom of sodealloc() to the top, eliminating a second set of identical mutex operations at the bottom. This allows brief exceeding of the max sockets limit, but only by sockets in the last stages of being torn down. Revision Changes Path 1.277 +1 -3 src/sys/kern/uipc_socket.c