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

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list