Date: Mon, 21 Jul 2008 18:43:02 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mpt mpt_raid.c Message-ID: <200807211843.m6LIhI71064174@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-07-21 18:43:02 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_raid.c Log: SVN rev 180668 on 2008-07-21 18:43:02Z by jhb 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 Revision Changes Path 1.18 +4 -4 src/sys/dev/mpt/mpt_raid.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807211843.m6LIhI71064174>