Mark Johnston f7db0c9532 vmspace: Convert to refcount(9)
This is mostly mechanical except for vmspace_exit().  There, use the new
refcount_release_if_last() to avoid switching to vmspace0 unless other
processes are sharing the vmspace.  In that case, upon switching to
vmspace0 we can unconditionally release the reference.

Remove the volatile qualifier from vm_refcnt now that accesses are
protected using refcount(9) KPIs.

Reviewed by:	alc, kib, mmel
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27057
2020-11-04 16:30:56 +00:00
..
2020-02-17 15:11:07 +00:00
2020-10-19 18:54:44 +00:00
2020-10-14 22:51:40 +00:00
2020-08-17 13:02:01 +00:00
2020-10-02 17:50:22 +00:00
2020-11-04 16:30:56 +00:00
2020-08-17 13:02:01 +00:00
2020-08-17 13:02:01 +00:00
2020-11-04 16:30:56 +00:00
2020-11-04 16:30:56 +00:00
2020-10-14 22:51:40 +00:00
2020-10-14 22:51:40 +00:00
2020-02-23 03:32:04 +00:00
2020-09-18 16:48:08 +00:00