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

cvs commit: src/sys/bus/cam cam_sim.c cam_sim.h cam_xpt.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Jun 2008 12:15:34 -0700 (PDT)

dillon      2008/06/29 12:15:34 PDT

DragonFly src repository

  Modified files:
    sys/bus/cam          cam_sim.c cam_sim.h cam_xpt.c 
  Log:
  Fix an issue where CAM would attempt to illegally get a lockmgr() lock
  from an interrupt via xpt_done().  Use a spin lock instead.
  
  Fix an issue where camisr_runqueue() was not protecting sim->sim_doneq
  which could then race against an interrupt via xpt_done() and corrupt
  the list.
  
  Revision  Changes    Path
  1.12      +3 -0      src/sys/bus/cam/cam_sim.c
  1.8       +5 -0      src/sys/bus/cam/cam_sim.h
  1.66      +29 -21    src/sys/bus/cam/cam_xpt.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_sim.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_sim.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.65&r2=1.66&f=u



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