Date: Mon, 4 Aug 2003 16:40:35 -0700 (PDT) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c src/sys/amd64/amd64 busdma_machdep.c Message-ID: <200308042340.h74NeZAa063251@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2003/08/04 16:40:35 PDT FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c sys/amd64/amd64 busdma_machdep.c Log: In _bus_dmamap_load_buffer(), only count the number of bounce pages needed if they haven't been counted before. This test was ommitted when bus_dmamap_load() was merged into this function, and results in the pagesneeded field growing without bounds when multiple deferrals happen. Thanks to Paul Saab for beating his head against this for a few hours =-) Revision Changes Path 1.51 +2 -1 src/sys/amd64/amd64/busdma_machdep.c 1.54 +2 -1 src/sys/i386/i386/busdma_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308042340.h74NeZAa063251>