svn commit: r214144 - head/sys/vm

Ed Schouten ed at 80386.nl
Thu Oct 21 18:19:22 UTC 2010


Hi John,

* John Baldwin <jhb at 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 at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101021/7f9a3d28/attachment.pgp


More information about the svn-src-all mailing list