On Fri, Nov 15, 2013 at 08:57:26AM -0800, Matt Thomas wrote:
> it's intentional. dmamap create/destroy can't be done from interrupt
> because they allocate memory. besides mbufs, memory can't be
> allocated.  I don't agree with the softintr restriction (where else
> can drivers allocate).

Bummer. It sure looks to me like bus_dmamap_destroy used to be callable
from interrupt context.  And the Open/FreeBSD code being identical leads me
to believe they do support destroying in interrupt context.

--chris

Reply via email to