summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_autoinit.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-03-21 12:33:00 +0000
committerkib <kib@FreeBSD.org>2008-03-21 12:33:00 +0000
commit04661caa35742f4595c6d0c3cf9846a3f8b5e888 (patch)
tree78f7cc2f6fd779f94d5ad2ae8dd99df1f4d66b4a /lib/libthr/thread/thr_autoinit.c
parent2030a16c64e44fd47b40eb5eeebd6e357652fab1 (diff)
downloadFreeBSD-src-04661caa35742f4595c6d0c3cf9846a3f8b5e888.zip
FreeBSD-src-04661caa35742f4595c6d0c3cf9846a3f8b5e888.tar.gz
Reduce the acquisition of the vnode interlock in the ffs_read() and
ffs_extread() when setting the IN_ACCESS flag by checking whether the IN_ACCESS is already set. The possible race there is admissible. Tested by: pho Submitted by: jeff
Diffstat (limited to 'lib/libthr/thread/thr_autoinit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud