From owner-freebsd-net@FreeBSD.ORG Tue Mar 20 15:45:54 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3244C16A404 for ; Tue, 20 Mar 2007 15:45:54 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outV.internet-mail-service.net (outV.internet-mail-service.net [216.240.47.245]) by mx1.freebsd.org (Postfix) with ESMTP id 1C49F13C4C1 for ; Tue, 20 Mar 2007 15:45:54 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 20 Mar 2007 08:17:59 -0700 Received: from [192.168.2.4] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 6DA2C125B2B; Tue, 20 Mar 2007 08:45:52 -0700 (PDT) Message-ID: <460001B0.8040203@elischer.org> Date: Tue, 20 Mar 2007 08:45:52 -0700 From: Julian Elischer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: John Hay References: <20070319203709.1272a470@debian> <45FF0B49.9060008@FreeBSD.org> <20070320073150.GA19859@zibbi.meraka.csir.co.za> <20070320074051.GH96806@codelabs.ru> <20070320120043.GA32312@zibbi.meraka.csir.co.za> In-Reply-To: <20070320120043.GA32312@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Bruce M. Simpson" Subject: Re: networking code and splx() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 15:45:54 -0000 John Hay wrote: > On Tue, Mar 20, 2007 at 10:40:51AM +0300, Eygene Ryabinkin wrote: >> John, good day. >> >> Tue, Mar 20, 2007 at 09:31:50AM +0200, John Hay wrote: >>>>> >>>> splx() and friends have been no-ops since FreeBSD 5.x was branched. >>>> Synchronization is now done using other mechanisms such as mutexes and >>>> spin locks. See the new man page locking(9) in -CURRENT. >>> It does not seem to get installed: >> The locking.9 is not the part of the current build as the comment >> of the initial commit of that file says. > > But if we start to refer people to it, surely it is time to install it? > It is like the Biblical example of lighting a candle and then putting > a bucket over it... Pretty much pointless. since no locking gurus have given it a "blessing of correctness" yet I have not put it into the build as it may be wildly inaccurate. As soon as I have been told that it is correct I'll attach it.. It's only been there for a few days.. > >>> Doing a grep for locking in /usr/src/share/man/man9/Makefile produce >>> nothing. >> But if you're running -CURRENT, then you can view the page from >> the sources (assuming that you have the system sources in /usr/src/): >> $ groff -Tascii -mandoc /usr/src/share/man/man9/locking.9 | less >> >> Our you can download the locking.9 from >> http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man9/locking.9 > > Yes, but you must know what you are looking for. The nice unix tools, > man -k and apropos, is not your friend anymore. > > John