diff options
author | attilio <attilio@FreeBSD.org> | 2008-05-25 14:57:43 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-05-25 14:57:43 +0000 |
commit | 4d240aa98e28b74ea9808f1ed3cd852399f4c1ba (patch) | |
tree | efe0ea20cbccbb0a37624368357258c8142915a2 /sys/kern/kern_lock.c | |
parent | 4789bb571576fe780e5fe461fafb8f80a4f043e1 (diff) | |
download | FreeBSD-src-4d240aa98e28b74ea9808f1ed3cd852399f4c1ba.zip FreeBSD-src-4d240aa98e28b74ea9808f1ed3cd852399f4c1ba.tar.gz |
Replace direct atomic operation for the file refcount witht the
refcount interface.
It also introduces the correct usage of memory barriers, as sometimes
fdrop() and fhold() are used with shared locks, which don't use any
release barrier.
Diffstat (limited to 'sys/kern/kern_lock.c')
0 files changed, 0 insertions, 0 deletions