diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-03-11 16:30:02 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-03-11 16:30:02 +0000 |
commit | 1723d628c51d72cc99e99fc848c4b4f1b5fdcafe (patch) | |
tree | 401d36cd378a3188a1ea34d047ee871416fd66b2 /kerberos5 | |
parent | 7f93ed151599dc8efcbd929944683e3ded715a84 (diff) | |
download | FreeBSD-src-1723d628c51d72cc99e99fc848c4b4f1b5fdcafe.zip FreeBSD-src-1723d628c51d72cc99e99fc848c4b4f1b5fdcafe.tar.gz |
When setting up a socket in socreate(), there's no need to lock the
socket lock around knlist_init(), so don't.
Hard code the setting of the socket reference count to 1 rather than
using soref() to avoid asserting the socket lock, since we've not yet
exposed the socket to other threads.
This removes two mutex operations from each socket allocation.
Diffstat (limited to 'kerberos5')
0 files changed, 0 insertions, 0 deletions