cvs commit: src/sys/dev/raid/ciss ciss.c

Joerg Sonnenberger joerg at britannica.bec.de
Mon Apr 25 22:26:23 PDT 2005


On Mon, Apr 25, 2005 at 10:24:40PM +0200, Thomas E. Spanjaard wrote:
> Joerg Sonnenberger wrote:
> >This can be considered a whole subproject of its own -- ensuring that
> >all DMA maps are properly created and destroyed. I expect a lot of
> >bugs lurking around in the code.
> >
> >Someone interested?
> 
> Is this ciss(4) specific or a generic DMA mapping problem?

This is a problem of many drivers using the BUS DMA infrastructure.
In the old days, it wasn't a problem because we allocated the
segment list on the stack, but now we allocate it in bus_dmamap_create,
so not calling it is very bad.

Joerg





More information about the Commits mailing list