Hi John,
* John Baldwin j...@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 e...@80386.nl
WWW: http://80386.nl/
On Thursday, October 21, 2010 2:19:21 pm Ed Schouten wrote:
Hi John,
* John Baldwin j...@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()