From owner-freebsd-current Sat Sep 28 13: 6: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 2067B37B401; Sat, 28 Sep 2002 13:05:59 -0700 (PDT) Date: Sat, 28 Sep 2002 13:05:59 -0700 From: Juli Mallett To: Terry Lambert Cc: Poul-Henning Kamp , Marc Recht , current@FreeBSD.ORG Subject: Re: GEOM panic in current kernel Message-ID: <20020928130558.A72197@FreeBSD.org> References: <33985.1033238233@critter.freebsd.dk> <3D960745.1224A651@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D960745.1224A651@mindspring.com>; from tlambert2@mindspring.com on Sat, Sep 28, 2002 at 12:47:17PM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * De: Terry Lambert [ Data: 2002-09-28 ] [ Subjecte: Re: GEOM panic in current kernel ] > Poul-Henning Kamp wrote: > > + bzero(&mymutex, sizeof mymutex); > > mtx_init(&mymutex, "g_up", MTX_DEF, 0); > > > Too bad mtx_init() doesn't really initialize the mutex, or > this would not be necessary. 8-(. That would break some witness checks, Terry, which check for something very bad, which shouldn't happen: a mutex actually being initialised twice. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message