Date: Fri, 1 Jul 2005 15:21:30 +0000 (UTC) From: Tai-hwa Liang <avatar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200507011521.j61FLUIU090035@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507011521.j61FLUIU090035>
