From owner-freebsd-arch Sun Aug 18 20:20:12 2002 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 BD2F137B400 for ; Sun, 18 Aug 2002 20:20:08 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6504D43E3B for ; Sun, 18 Aug 2002 20:20:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020819032007.HIQB1746.rwcrmhc51.attbi.com@InterJet.elischer.org>; Mon, 19 Aug 2002 03:20:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id UAA43876; Sun, 18 Aug 2002 20:01:44 -0700 (PDT) Date: Sun, 18 Aug 2002 20:01:42 -0700 (PDT) From: Julian Elischer To: Terry Lambert Cc: Matthew Dillon , Ian Dowse , Bruce Evans , arch@FreeBSD.ORG Subject: Re: Solving the stack gap issue In-Reply-To: <3D60403B.FD09089E@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 18 Aug 2002, Terry Lambert wrote: > Julian Elischer wrote: > > On Sun, 18 Aug 2002, Matthew Dillon wrote: > [ ... ] [...] > > If "lock b" fails because it would result in a deadlock, then > the only safe way to recover is to unwind the call graph to the > point "lock a" was acquired, and release "lock a", yield, and > then reacquire "lock a" and redescend the call graph to retry > the "lock b" acquisition. you are talking (almost) about the "asleep()" faciliy that matt Dillon added for a while bus has been rmoved again.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message