freebsd-nq/sys/dev/cxgbe
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
..
common
crypto
cudbg
cxgbei
firmware
iw_cxgbe
tom vmspace: Convert to refcount(9) 2020-11-04 16:30:56 +00:00
adapter.h
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h
osdep.h
t4_clip.c
t4_clip.h
t4_filter.c
t4_if.m
t4_ioctl.h
t4_iov.c
t4_l2t.c
t4_l2t.h
t4_main.c
t4_mp_ring.c
t4_mp_ring.h
t4_netmap.c
t4_sched.c cxgbe(4): Fix min/max typo in r366958. 2020-10-23 02:24:43 +00:00
t4_sge.c
t4_smt.c
t4_smt.h
t4_tracer.c
t4_vf.c