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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 29 13:26:03 PDT 2008


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





More information about the Commits mailing list