From owner-p4-projects Thu May 16 22:59:12 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A629437B40B; Thu, 16 May 2002 22:59:08 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from 12-234-96-171.client.attbi.com (12-234-96-171.client.attbi.com [12.234.96.171]) by hub.freebsd.org (Postfix) with ESMTP id 4016137B40C; Thu, 16 May 2002 22:59:07 -0700 (PDT) Received: by 12-234-96-171.client.attbi.com (Postfix, from userid 1000) id 6378FA900; Thu, 16 May 2002 22:58:58 -0700 (PDT) Date: Thu, 16 May 2002 22:58:58 -0700 From: Jonathan Mini To: Peter Wemm Cc: Julian Elischer , jhb@freebsd.org, Perforce Change Reviews Subject: Re: PERFORCE change 11120 for review Message-ID: <20020516225858.D25907@stylus.haikugeek.com> References: <20020516214147.B25907@stylus.haikugeek.com> <20020517051428.1701B380A@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020517051428.1701B380A@overcee.wemm.org>; from peter@wemm.org on Thu, May 16, 2002 at 10:14:28PM -0700 Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm [peter@wemm.org] wrote : > Jonathan Mini wrote: > > > The only problem he foresaw was that the init/fini functions could be called > > by the pager daemon, but I don't see any problem there either. > > Somewhere along the way we were planning to put in code that checked for > things that *might* call tsleep() and trap mutexes being held. I dont know > if the UMA stuff calls tsleep (directly or indirectly) or not, but it was > my understanding that it is a Bad Idea(TM) to call anything that can tsleep > with a mutex held. > I think maybe you misunderstand. The problem isn't that the pager calls the uma init/fini functions, but rather that *my* init/fini functions may block inside the VM. -- Jonathan Mini http://www.haikugeek.com "He who is not aware of his ignorance will be only misled by his knowledge." -- Richard Whatley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message