Hi John,

* John Baldwin <[email protected]>, 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 <[email protected]>
 WWW: http://80386.nl/

Attachment: pgpZWtA2gScwF.pgp
Description: PGP signature

Reply via email to