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
[-- Attachment #1 --] Hi John, * John Baldwin <jhb@FreeBSD.org>, 20101021 19:29: > + if (atomic_fetchadd_int(&vm->vm_refcnt, -1) == 1) > vmspace_dofree(vm); Not that it's that useful, but maybe it would be good to use refcount_release() here? -- Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzAhCkACgkQ52SDGA2eCwU5RQCfft74i3D52CDSSGG6GDl2L/Uk xYwAn0nAZlfqfl3zcg1DoFXHYgK3EEr3 =S9MC -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101021181921.GG77125>
