Subject: Re: x86 bus_dmamem_alloc vs BUS_DMA_NOWAIT
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 11/25/2005 07:46:32
On Nov 24, 2005, at 12:50 PM, Manuel Bouyer wrote:

> I don't think drivers needs to do bus_dmamem_map/unmap from interrupt
> context (I've patches to ahc/ahd to fix this; it's quite easy with
> scsipi), but the man page doesn't say anything about interrupt  
> context.

Right, dmamem alloc/free/map/unmap should NEVER be done in interrupt  
context.

-- thorpej