Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 19:44:15 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Lukas Ertl <le@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_proc.c
Message-ID:  <20040609164415.GA59326@ip.net.ua>
In-Reply-To: <200406091632.i59GWSmF052675@khavrinen.lcs.mit.edu>
References:  <55929.1086798000@critter.freebsd.dk> <20040609182606.X707@korben.in.tern> <200406091632.i59GWSmF052675@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Jun 09, 2004 at 12:32:28PM -0400, Garrett Wollman wrote:
> <<On Wed, 9 Jun 2004 18:28:57 +0200 (CEST), Lukas Ertl <le@FreeBSD.ORG> said:
> 
> > Is there a possibility that foo->refcount is incremented after both of 
> > them left the critical section, so that i is 0, but foo->refcount isn't?
> 
> The only way there can be such a possibility is if you haven't counted
> all the references.
> 
Are you trying to say that the 0->1 transition isn't possible?


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAxz5fqRfpzJluFF4RAsDaAJ0XuIvjGlo4VoPabEltjxbkm5an+wCfWbDN
Dar9IudEo7qd0K2OGIFxVNs=
=0Rr8
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609164415.GA59326>