DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - CAM mpsafe issues


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Aug 2010 12:50:45 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]