diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-01-06 14:15:38 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-01-06 14:15:38 +0000 |
commit | 5d645da259a65e375831e3be6d10227e360339ed (patch) | |
tree | 07fa1fc23dc1fa7720b85e2f8f098307fa6f4acb /usr.sbin/kldxref/kldxref.c | |
parent | d71ad1411f46ae63fbed91fcf86278f6f0d4aa73 (diff) | |
download | FreeBSD-src-5d645da259a65e375831e3be6d10227e360339ed.zip FreeBSD-src-5d645da259a65e375831e3be6d10227e360339ed.tar.gz |
Do a lockless read of the audit pipe list before grabbing the audit pipe
lock in order to avoid the lock acquire hit if the pipe list is very
likely empty.
Obtained from: TrustedBSD Project
MFC after: 3 weeks
Sponsored by: Apple, Inc.
Diffstat (limited to 'usr.sbin/kldxref/kldxref.c')
0 files changed, 0 insertions, 0 deletions