summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-09-30 20:51:48 +0000
committerrwatson <rwatson@FreeBSD.org>2002-09-30 20:51:48 +0000
commit5d5060bddf1bf4c263e0d232b8a8c4f352c2f5f1 (patch)
tree86fa56cf582686262cfe53465fbbdce1313c86de /sys/kern/kern_resource.c
parent731b954aba3aed28d46e7f8b48828c6845fe3ada (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud