From owner-freebsd-hackers Mon Dec 2 1: 2:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D14BC37B401 for ; Mon, 2 Dec 2002 01:02:09 -0800 (PST) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 7D5B343ED1 for ; Mon, 2 Dec 2002 01:00:17 -0800 (PST) (envelope-from grog@grsu.by) Received: (qmail 93811 invoked from network); 2 Dec 2002 08:59:32 -0000 Received: from unknown (HELO grsu.by) (10.31.16.99) by grsu.by with SMTP; 2 Dec 2002 08:59:32 -0000 Received: (qmail 3364 invoked by uid 1000); 2 Dec 2002 09:03:19 -0000 Date: Mon, 2 Dec 2002 11:03:18 +0200 From: Yury Tarasievich To: freebsd-hackers@freebsd.org Subject: Re: documentation on kernel locks, mutexes? Message-ID: <20021202090318.GB3340@deptty.in.grsu.by> References: <3DE9ABCF.80AAAC2F@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE9ABCF.80AAAC2F@mindspring.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 30, 2002 at 10:27:27PM -0800, Terry Lambert wrote: > Robert Watson wrote: > > On Mon, 25 Nov 2002, Terry Lambert wrote: > > > Yury Tarasievich wrote: > > > > I need to port some driver from linux to freebsd and, somehow, > > > > I can't find documentation on kernel locks and mutexes. > > > > There are no man pages, links from handbook are broken, and search on > > > > freebsd site gives nothing (besides the handbook itself). [...] > I was thinking more in terms of device driver information. All > of the "how to write a driver for newbus", "how to write a CAM > driver", "how to use devfs from the kernel", "what XXX to do in > FreeBSD, given YYY in Linux", "how to port a driver from Linux > to FreeBSD", etc., are missing. Well, perhaps not THAT generic information... :) > While it's true that kernel locks and mutexes are documented for > SMPng, he posted to -hackers, not -current, and so he's probably > not interested in -current primitives that aren't available in > the 4.x -RELEASE and -STABLE branches. Exactly my point, thanks! And I'll point again that: - links in handbook DO NOT work (freebsd.org does not have these pages (specifically lockmgr(9), mutex(9)) - and there are no man pages for them in distribution I've even checked this with 4.4-RELEASE at hand -- seen same. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message