summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-22 20:40:23 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-22 20:40:23 +0000
commit92f30976fe9d08c23ba40cb7e6d74d64d73af87f (patch)
tree95b7d1934613c9a5f984e154aa98d365d5b39d72 /sys/dev/sio/sio.c
parent9daa4317be3859abb40769654916879a29dc7e42 (diff)
downloadFreeBSD-src-92f30976fe9d08c23ba40cb7e6d74d64d73af87f.zip
FreeBSD-src-92f30976fe9d08c23ba40cb7e6d74d64d73af87f.tar.gz
Push Giant acquisition down into fo_stat() from most callers. Acquire
Giant conditional on debug.mpsafenet in the socket soo_stat() routine, unconditionally in vn_statfile() for VFS, and otherwise don't acquire Giant. Accept an unlocked read in kqueue_stat(), and cryptof_stat() is a no-op. Don't acquire Giant in fstat() system call. Note: in fdescfs, fo_stat() is called while holding Giant due to the VFS stack sitting on top, and therefore there will still be Giant recursion in this case.
Diffstat (limited to 'sys/dev/sio/sio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud