diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-09-30 20:51:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-09-30 20:51:48 +0000 |
commit | 5d5060bddf1bf4c263e0d232b8a8c4f352c2f5f1 (patch) | |
tree | 86fa56cf582686262cfe53465fbbdce1313c86de /sys/kern/kern_resource.c | |
parent | 731b954aba3aed28d46e7f8b48828c6845fe3ada (diff) | |
download | FreeBSD-src-5d5060bddf1bf4c263e0d232b8a8c4f352c2f5f1.zip FreeBSD-src-5d5060bddf1bf4c263e0d232b8a8c4f352c2f5f1.tar.gz |
Move vnode MAC label initialization to after the release of the vnode
interlock in getnewvnode() to avoid possible sleeps while holding
the mutex. Note that the warning from Witness is a slight false
positive since we know there will be no contention on the interlock
since we haven't made the vnode available for use yet, but the theory
is not a bad one.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions