summaryrefslogtreecommitdiffstats
path: root/sys/sys/ucred.h
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2015-07-16 13:57:05 +0000
committermjg <mjg@FreeBSD.org>2015-07-16 13:57:05 +0000
commit28fa5eedfe3c8c9827db6b8b82eab79e95f15bdd (patch)
treef54963a7e7c58d7c32467e171a295e83d786983f /sys/sys/ucred.h
parent6832ce63741dc0339403d09a7672c72069ac261c (diff)
downloadFreeBSD-src-28fa5eedfe3c8c9827db6b8b82eab79e95f15bdd.zip
FreeBSD-src-28fa5eedfe3c8c9827db6b8b82eab79e95f15bdd.tar.gz
vfs: implement v_holdcnt/v_usecount manipulation using atomic ops
Transitions 0->1 and 1->0 (which decide e.g. on putting the vnode on the free list) of either counter are still guarded with vnode interlock. Reviewed by: kib (earlier version) Tested by: pho
Diffstat (limited to 'sys/sys/ucred.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud