diff options
author | Scott Long <scottl@FreeBSD.org> | 2005-02-09 11:44:15 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2005-02-09 11:44:15 +0000 |
commit | ef3cf714a4c72157213a456243bf91c0a40aad13 (patch) | |
tree | c841b26e8adf09333f9af8bddb1d96c032a0439a /contrib/ipfilter/ipft_tx.c | |
parent | f9f121515a0851c1e2bbf2de68104248efb5d426 (diff) | |
download | src-ef3cf714a4c72157213a456243bf91c0a40aad13.tar.gz src-ef3cf714a4c72157213a456243bf91c0a40aad13.zip |
Provide locking for the ccb_bioq. This allows xpt_done() to be called without
Giant held. In camisr(), move the ccb_bioq elements to a temporary local list
and then process the elements off of that list. This enables the list to be
processed by only taking the ccb_bioq_lock once and only for a very short
time.
ccb_bioq_lock is a leaf mutex, so it's fine to call xpt_done() with other
locks held. This is just a very minor step in the work to lock CAM, but
it allows us to avoid some messy locking/unlock dances in certain drivers.
Notes
Notes:
svn path=/head/; revision=141566
Diffstat (limited to 'contrib/ipfilter/ipft_tx.c')
0 files changed, 0 insertions, 0 deletions