diff options
author | ed <ed@FreeBSD.org> | 2009-01-04 19:22:53 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-01-04 19:22:53 +0000 |
commit | 2f8c83e018415ba108dc981e83e870b9c68f3946 (patch) | |
tree | ca157f72933723ce3991b4b7f03397ed451b72e9 /crypto | |
parent | af9e0de76f3dcf8f09a3bd5c39aef43d3c0c6606 (diff) | |
download | FreeBSD-src-2f8c83e018415ba108dc981e83e870b9c68f3946.zip FreeBSD-src-2f8c83e018415ba108dc981e83e870b9c68f3946.tar.gz |
Remove Giant locking from domains list.
During boot, the domain list is locked with Giant. It is not possible to
register any protocols after the system has booted, so the lock is only
used to protect insertion of entries.
There is already a mutex in uipc_domain.c called dom_mtx. Use this mutex
to lock the list, instead of using Giant. It won't matter anything with
respect to performance, but we'll never get rid of Giant if we don't
remove from places where we don't need it.
Approved by: rwatson
MFC after: 3 weeks
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions