From owner-freebsd-net@FreeBSD.ORG Tue Mar 20 12:00:46 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 9975016A413; Tue, 20 Mar 2007 12:00:46 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id 1997113C4C2; Tue, 20 Mar 2007 12:00:45 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 7A31F33CAE; Tue, 20 Mar 2007 14:00:43 +0200 (SAST) Date: Tue, 20 Mar 2007 14:00:43 +0200 From: John Hay To: Eygene Ryabinkin Message-ID: <20070320120043.GA32312@zibbi.meraka.csir.co.za> References: <20070319203709.1272a470@debian> <45FF0B49.9060008@FreeBSD.org> <20070320073150.GA19859@zibbi.meraka.csir.co.za> <20070320074051.GH96806@codelabs.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070320074051.GH96806@codelabs.ru> User-Agent: Mutt/1.4.2.1i 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 12:00:46 -0000 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. > > 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 -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org