Date: Mon, 17 Jul 2006 19:45:47 +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/amr amr.c Message-ID: <200607171945.k6HJjlo0031767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-07-17 19:45:47 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Chain the bus_dmamap_load() calls when mapping a command with a data CCB instead of doing the first load with the BUS_DMA_NOWAIT flag. On 4.x with PAE and > 4gb of RAM this proved disastrous if there weren't enough bounce pages as amr_mapcmd() would return failure but the callback would later fire once enough bounce pages were available and would then overwrite another command's S/G list. MFC after: 3 days Submitted by: scottl (4.x version) Reviewed by: scottl (port from 4.x to HEAD) Revision Changes Path 1.79 +42 -24 src/sys/dev/amr/amr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607171945.k6HJjlo0031767>