From owner-cvs-all@FreeBSD.ORG Wed Jun 9 18:23:22 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F26416A4CE; Wed, 9 Jun 2004 18:23:22 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F86E43D45; Wed, 9 Jun 2004 18:23:20 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5AAD6AC96A; Wed, 9 Jun 2004 20:22:52 +0200 (CEST) Date: Wed, 9 Jun 2004 20:22:52 +0200 From: Pawel Jakub Dawidek To: Garrett Wollman Message-ID: <20040609182252.GW12007@darkness.comp.waw.pl> References: <20040609.100413.118633043.imp@bsdimp.com> <55929.1086798000@critter.freebsd.dk> <200406091629.i59GTnCx052623@khavrinen.lcs.mit.edu> <20040609173747.GT12007@darkness.comp.waw.pl> <200406091751.i59HpjSs053220@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+dH9khzwljbvYE07" Content-Disposition: inline In-Reply-To: <200406091751.i59HpjSs053220@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_proc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 18:23:22 -0000 --+dH9khzwljbvYE07 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 09, 2004 at 01:51:45PM -0400, Garrett Wollman wrote: +> < said: +>=20 +> > No, it is still wrong. The only good way is green's way. +> > You cannot destroy object even if you held its lock, because another +> > thread can sleep on this lock and it will be destroyed under it. +>=20 +> Another thread cannot sleep on this lock because it does not have a +> reference to it. Your hypothetical list of elements counts as a +> reference. Correct! I was wrong, sorry for the noise. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --+dH9khzwljbvYE07 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAx1V8ForvXbEpPzQRAoVSAJ42TWzZDskkQMnCEiT20n5+AXbp7ACeKO8h 7ztxXqKsfEXgtAU1+Go++so= =HD/n -----END PGP SIGNATURE----- --+dH9khzwljbvYE07--