From owner-freebsd-current Sat Dec 7 5:58:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C05B37B401; Sat, 7 Dec 2002 05:58:34 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE6F43EB2; Sat, 7 Dec 2002 05:58:33 -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 gB7DwRBF002661; Sat, 7 Dec 2002 08:58:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 7 Dec 2002 08:58:26 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Kris Kennaway Cc: Lars Eggert , current@FreeBSD.ORG, jhb@FreeBSD.ORG, alfred@FreeBSD.ORG Subject: Re: LOR: filedesc structure -> pipe mutex In-Reply-To: <20021207043355.GA75597@rot13.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 6 Dec 2002, Kris Kennaway wrote: > On Fri, Dec 06, 2002 at 07:18:03PM -0800, Lars Eggert wrote: > > > >I'm getting this too: > > After discussing this with various people on IRC, it was determined that > this is not the place where the reversal is occurring, but since witness > doesn't have the lock order defined it has to guess, and in this > instance it is guessing the wrong way around. After adding the lock > order to subr_witness.c I now get this: Yeah, we're exchanging some out-of-band e-mail on this: the basic problem is that: filedesc>pipe pipe>sigio sigio>proc proc>filedesc We're talking about some possible solutions, including deferred signalling, etc, etc. 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-current" in the body of the message