diff options
author | mjg <mjg@FreeBSD.org> | 2015-07-16 13:57:05 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2015-07-16 13:57:05 +0000 |
commit | 28fa5eedfe3c8c9827db6b8b82eab79e95f15bdd (patch) | |
tree | f54963a7e7c58d7c32467e171a295e83d786983f /bin | |
parent | 6832ce63741dc0339403d09a7672c72069ac261c (diff) | |
download | FreeBSD-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 'bin')
0 files changed, 0 insertions, 0 deletions