summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-05-25 14:57:43 +0000
committerattilio <attilio@FreeBSD.org>2008-05-25 14:57:43 +0000
commit4d240aa98e28b74ea9808f1ed3cd852399f4c1ba (patch)
treeefe0ea20cbccbb0a37624368357258c8142915a2 /sys/kern/kern_lock.c
parent4789bb571576fe780e5fe461fafb8f80a4f043e1 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud