diff options
author | pjd <pjd@FreeBSD.org> | 2008-08-11 08:41:08 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-08-11 08:41:08 +0000 |
commit | 44812bbc70f8332d6005dae74c9b6f5b014eb7af (patch) | |
tree | eb132537772e28a542f142d08441419b3ce83b80 /sys/dev/isp | |
parent | 68fc6b033d6c92c42c2aa3f30689887c7419f375 (diff) | |
download | FreeBSD-src-44812bbc70f8332d6005dae74c9b6f5b014eb7af.zip FreeBSD-src-44812bbc70f8332d6005dae74c9b6f5b014eb7af.tar.gz |
- Convert sc_sessions_mtx mutex to a rwlock, so in the fast path
(glxsb_process()) we don't block others when looking for our session.
- Simplify the loop responsible for freeing sessions on detach.
- No need to drop a lock around malloc(M_NOWAIT).
- Treat ses_used as boolean.
- Avoid gotos where possible.
- Various style(9) fixes.
Reviewed by: philip, Patrick Lamaiziere <patfbsd@davenulle.org>
Diffstat (limited to 'sys/dev/isp')
0 files changed, 0 insertions, 0 deletions