git: kernel - CAM mpsafe issues

Matthew Dillon dillon at
Sat Aug 28 12:51:33 PDT 2010

commit 70097fd90c49054eb3c7d9127f453ca392bf702b
Author: Matthew Dillon <dillon at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list