From owner-cvs-all@FreeBSD.ORG Thu Mar 1 09:00:43 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F22E16A46B; Thu, 1 Mar 2007 09:00:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 38CBA13C491; Thu, 1 Mar 2007 09:00:43 +0000 (UTC) (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 l2190hFO022593; Thu, 1 Mar 2007 09:00:43 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l2190hUU022592; Thu, 1 Mar 2007 09:00:43 GMT (envelope-from rwatson) Message-Id: <200703010900.l2190hUU022592@repoman.freebsd.org> From: Robert Watson Date: Thu, 1 Mar 2007 09:00:42 +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_usrreq.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: Thu, 01 Mar 2007 09:00:43 -0000 rwatson 2007-03-01 09:00:42 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: Remove two simultaneous acquisitions of multiple unpcb locks from uipc_send in cases where only a global read lock is held by breaking them out and avoiding the unpcb lock acquire in the common case. This avoids deadlocks which manifested with X11, and should also marginally further improve performance. Reported by: sepotvin, brooks Revision Changes Path 1.199 +19 -22 src/sys/kern/uipc_usrreq.c