From owner-freebsd-hackers Sat Nov 30 15:44:58 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 0E0A537B401 for ; Sat, 30 Nov 2002 15:44:57 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76E6343EAF for ; Sat, 30 Nov 2002 15:44:56 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id gAUNiqBF040768; Sat, 30 Nov 2002 18:44:52 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 30 Nov 2002 18:44:52 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Terry Lambert Cc: Yury Tarasievich , freebsd-hackers@freebsd.org Subject: Re: documentation on kernel locks, mutexes? In-Reply-To: <3DE1FAAB.81356E0A@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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). > > > > Where can I find some docs? > > Kernel documentation is poor, because interfaces are not as fixed in > stone as you might expect them to be to encourage third party > developement and porting efforts like yours. Funny, the SMPng primitives seem in general to be fairly well documented. See my previous e-mail to Yury with a list of man page references. It's certainly true that the source is a good reference to look at existing locking strategies, but there certainly do appear to be man pages for the locking primitives. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message