tech-kern archive

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

Re: bus_dmamap_destroy no longer callable from interrupt context?



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


Home | Main Index | Thread Index | Old Index