cvs commit: src/sys/cam cam_periph.c cam_queue.c cam_sim.c
cam_xpt.c cam_xpt_periph.h src/sys/cam/scsi scsi_low.c scsi_sa.c
scsi_ses.c scsi_targ_bh.c
Tai-hwa Liang
avatar at FreeBSD.org
Fri Jul 1 15:21:30 GMT 2005
avatar 2005-07-01 15:21:30 UTC
FreeBSD src repository
Modified files:
sys/cam cam_periph.c cam_queue.c cam_sim.c
cam_xpt.c cam_xpt_periph.h
sys/cam/scsi scsi_low.c scsi_sa.c scsi_ses.c
scsi_targ_bh.c
Log:
- Providing fine-grained malloc statistic by replacing M_DEVBUF with
module-specific malloc types. These should help us to pinpoint the
possible memory leakage in the future.
- Implementing xpt_alloc_ccb_nowait() and replacing all malloc/free based
CCB memory management with xpt_alloc_ccb[_nowait]/xpt_free_ccb. Hopefully
this would be helpful if someday we move the CCB allocator to use UMA
instead of malloc().
Encouraged by: jeffr, rwatson
Reviewed by: gibbs, scottl
Approved by: re (scottl)
Revision Changes Path
1.60 +6 -3 src/sys/cam/cam_periph.c
1.9 +18 -13 src/sys/cam/cam_queue.c
1.9 +6 -3 src/sys/cam/cam_sim.c
1.155 +30 -18 src/sys/cam/cam_xpt.c
1.5 +1 -0 src/sys/cam/cam_xpt_periph.h
1.24 +10 -7 src/sys/cam/scsi/scsi_low.c
1.105 +3 -2 src/sys/cam/scsi/scsi_sa.c
1.32 +7 -5 src/sys/cam/scsi/scsi_ses.c
1.22 +17 -15 src/sys/cam/scsi/scsi_targ_bh.c
More information about the cvs-src
mailing list