Searched hist:141566 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/sys/cam/
H A Dcam_xpt.cdiff 141566 Wed Feb 09 09:44:15 MST 2005 scottl 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.

Completed in 129 milliseconds