Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 20:19:21 +0200
From:      Ed Schouten <ed@80386.nl>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r214144 - head/sys/vm
Message-ID:  <20101021181921.GG77125@hoeg.nl>
In-Reply-To: <201010211729.o9LHTXEv098032@svn.freebsd.org>
References:  <201010211729.o9LHTXEv098032@svn.freebsd.org>

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

--9/eUdp+dLtKXvemk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi John,

* John Baldwin <jhb@FreeBSD.org>, 20101021 19:29:
> +	if (atomic_fetchadd_int(&vm->vm_refcnt, -1) =3D=3D 1)
>  		vmspace_dofree(vm);

Not that it's that useful, but maybe it would be good to use
refcount_release() here?

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--9/eUdp+dLtKXvemk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkzAhCkACgkQ52SDGA2eCwU5RQCfft74i3D52CDSSGG6GDl2L/Uk
xYwAn0nAZlfqfl3zcg1DoFXHYgK3EEr3
=S9MC
-----END PGP SIGNATURE-----

--9/eUdp+dLtKXvemk--



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