git: kernel - CAM mpsafe issues
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Aug 28 12:51:33 PDT 2010
commit 70097fd90c49054eb3c7d9127f453ca392bf702b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Aug 28 12:48:56 2010 -0700
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.
Summary of changes:
sys/bus/cam/cam_xpt.c | 137 +++++++++++++++++++++++--------------------------
1 files changed, 64 insertions(+), 73 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70097fd90c49054eb3c7d9127f453ca392bf702b
--
DragonFly BSD source repository
More information about the Commits
mailing list