From owner-freebsd-hackers Sun Aug 22 19:40: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 390DF14E07; Sun, 22 Aug 1999 19:39:54 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA15834; Mon, 23 Aug 1999 12:09:52 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA84239; Mon, 23 Aug 1999 12:09:50 +0930 (CST) Date: Mon, 23 Aug 1999 12:09:50 +0930 From: Greg Lehey To: Garrett Wollman Cc: Matthew Dillon , FreeBSD Hackers , FreeBSD Committers Subject: Re: Mandatory locking? Message-ID: <19990823120949.F83273@freebie.lemis.com> References: <19990823095310.A83273@freebie.lemis.com> <199908230031.RAA00909@apollo.backplane.com> <19990823100654.B83273@freebie.lemis.com> <199908230207.WAA19218@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908230207.WAA19218@khavrinen.lcs.mit.edu>; from Garrett Wollman on Sun, Aug 22, 1999 at 10:07:04PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 22 August 1999 at 22:07:04 -0400, Garrett Wollman wrote: > < said: > >> Correct. I suppose it's worth discussing what the default should be. >> Should they get EAGAIN or block? Obviously you'd want a way of >> specifying which, but there would have to be a default for >> non-lock-aware programs. I think I'd go for blocking; it's less error >> prone. > > I'd be strongly opposed to any sort of mandatory locking. The whole > notion is unspeakably evil, although this is mitigated somewhat if it > does not apply to processes with appropriate privilege. That's a strange thing to say. Should we do away with locks in the kernel too? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message