From owner-freebsd-arch Fri Jan 3 10:22:38 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D2C737B405 for ; Fri, 3 Jan 2003 10:22:37 -0800 (PST) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608AA43F07 for ; Fri, 3 Jan 2003 10:22:35 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 31668 invoked from network); 3 Jan 2003 18:22:38 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Jan 2003 18:22:38 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h03IMWUT064213; Fri, 3 Jan 2003 13:22:32 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200301031805.h03I5Gt8064163@apollo.backplane.com> Date: Fri, 03 Jan 2003 13:22:39 -0500 (EST) From: John Baldwin To: Matthew Dillon Subject: Re: Need help fixing lock ordering with filedesc, proc and pipe. Cc: alc@FreeBSD.ORG, tanimura@FreeBSD.ORG, jake@FreeBSD.ORG, smp@FreeBSD.ORG, arch@FreeBSD.ORG, Alfred Perlstein Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 03-Jan-2003 Matthew Dillon wrote: > Hmm. There seem to be multiple issues here but would defering the > psigio also be a workable solution? That is, simply add a flag to > the filedesc and return and the caller (or his caller) is responsible > for checking the flag and calling psigio in a more controlled situation. > This way sigio can be initiated deep in the code without any worries. I would like that as well if it can be cleanly done that way. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message