kernel - CAM mpsafe issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 19:48:56 +0000 (12:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 19:48:56 +0000 (12:48 -0700)
commit70097fd90c49054eb3c7d9127f453ca392bf702b
treeff9c3757ec21d954f6db56ee8d8058f04851d4a6
parent0ac0a48ac5727ac4ed389b009736e30e4bfb333a
kernel - CAM mpsafe issues

* Lock the CAM bus when making asynchronous xpt callbacks.  This code
  previously depended on the MP lock but failed to use the correct
  sim lock, and AHCI/SILI now use their own locks.

* Remove a few other unnecessary mplocks.

* Redo the bus counting code to be MPSAFE.
sys/bus/cam/cam_xpt.c