From owner-cvs-all Mon Jun 28 16:24:44 1999 Delivered-To: cvs-all@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id DC50A14D27; Mon, 28 Jun 1999 16:24:27 -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 IAA20912; Tue, 29 Jun 1999 08:54:27 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA50223; Tue, 29 Jun 1999 08:54:26 +0930 (CST) Date: Tue, 29 Jun 1999 08:54:25 +0930 From: Greg Lehey To: Nick Hibma Cc: Kirk McKusick , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_lock.c Message-ID: <19990629085424.X43194@freebie.lemis.com> References: <199906280755.AAA97764@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Nick Hibma on Mon, Jun 28, 1999 at 10:38:13AM +0200 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-cvs-all@FreeBSD.ORG Precedence: bulk On Monday, 28 June 1999 at 10:38:13 +0200, Nick Hibma wrote: > On Mon, 28 Jun 1999, Kirk McKusick wrote: > >> mckusick 1999/06/28 00:55:01 PDT >> >> Modified files: >> sys/kern kern_lock.c >> Log: >> When requesting an exclusive lock with LK_NOWAIT, do not panic >> if LK_RECURSIVE is not set, as we will simply return that the >> lock is busy and not actually deadlock. This allows processes >> to use polling locks against buffers that they may already >> hold exclusively locked. > > Does this solve the panic discussed in current? Which one? It didn't solve the panic out of breadn(): dd if=/dev/da1b of=/dev/null bs=120b 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 cvs-all" in the body of the message