freebsd-dev/sys/dev/mpt
John Baldwin 847bd80810 Allocate a single CCB at the start of the main loop of the RAID monitoring
kthread of the mpt(4) driver that hangs around for the entire lifetime of
the thread.  Previously the driver would allocate a new CCB using M_WAITOK
with a lock held each time it updated its state.  While here, use the
CAM API for allocating a CCB rather than raw malloc(9).

Reviewed by:	scottl
MFC after:	1 week
2008-07-21 18:43:02 +00:00
..
mpilib
mpt_cam.c
mpt_cam.h
mpt_debug.c
mpt_pci.c
mpt_raid.c
mpt_raid.h
mpt_reg.h
mpt_user.c
mpt.c
mpt.h