From owner-cvs-src@FreeBSD.ORG Sun Jul 3 01:00:21 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 AC3E216A51A; Sun, 3 Jul 2005 00:57:06 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C3C043E51; Sun, 3 Jul 2005 00:36:53 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 6737D6D0F3; Sat, 2 Jul 2005 17:36:10 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 333625C9B4 for ; Tue, 28 Dec 2004 23:44:58 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 2BBFF56167 for ; Wed, 29 Dec 2004 07:44:34 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 2C68416A53F; Wed, 29 Dec 2004 07:44:30 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 68CC016A4D6; Wed, 29 Dec 2004 07:44:27 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id D33E716A4CF; Wed, 29 Dec 2004 07:44:25 +0000 (GMT) From: Darren Reed To: John Baldwin Message-ID: <20041229074425.GA87078@hub.freebsd.org> References: <20041226165927.GA18879@hub.freebsd.org> <41D0D580.7090207@freebsd.org> <20041228051838.GB38011@hub.freebsd.org> <200412281045.37563.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200412281045.37563.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: src-committers@FreeBSD.org, Scott Long , Alan Cox , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, darrenr@FreeBSD.org, bzeeb-lists@lists.zabbadoz.net, "M. Warner Losh" Subject: Re: cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:00:23 -0000 X-Original-Date: Wed, 29 Dec 2004 07:44:25 +0000 X-List-Received-Date: Sun, 03 Jul 2005 01:00:23 -0000 On Tue, Dec 28, 2004 at 10:45:37AM -0500, John Baldwin wrote: > sx locks are not identical to Solaris rwlocks. Solaris rwlocks do priority > propagation and can't be held across a condition variable type sleep. sx > locks on the other hand are more like lockmgr() style locks in that they do > not do priority propagation and may be held across a sleep (and are even > implemented using mutexes and condition variables for that matter). I do > plan to implement Solaris-style rwlocks that do priority propagation, etc. > and are not sleepable but have not done so yet. Until that time, you will > have to use mutexes as those are the only locks FreeBSD supports that have > the semantics you want. Thanks for the clarification and as you guessed, my reference is rwlocks on Solaris. I look forward to the day when you manage to complete this work, as do many other freebsd users & developers, I'm sure! Cheers, Darren