DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 26 Apr 2005 07:24:52 +0200
Mail-followup-to: "Thomas E. Spanjaard" <tgen@netphreax.net>, commits@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]