cvs commit: src/sys/i386/i386 busdma_machdep.c src/sys/amd64/amd64
busdma_machdep.c
Scott Long
scottl at FreeBSD.org
Mon Aug 4 16:40:37 PDT 2003
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
More information about the cvs-src
mailing list