aboutsummaryrefslogtreecommitdiff
path: root/games/pom/pom.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-02-09 11:44:15 +0000
committerScott Long <scottl@FreeBSD.org>2005-02-09 11:44:15 +0000
commitef3cf714a4c72157213a456243bf91c0a40aad13 (patch)
treec841b26e8adf09333f9af8bddb1d96c032a0439a /games/pom/pom.c
parentf9f121515a0851c1e2bbf2de68104248efb5d426 (diff)
downloadsrc-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 'games/pom/pom.c')
0 files changed, 0 insertions, 0 deletions