Subject: Re: aue panic in 3.0
To: Iain Hibbert <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 09/17/2006 11:20:59
On Sun, Sep 17, 2006 at 09:00:50AM +0100, Iain Hibbert wrote:
> On Sat, 16 Sep 2006, Hans Petter Selasky wrote:
> > On Saturday 16 September 2006 15:54, Iain Hibbert wrote:
> > > Further down _NOWAIT does seem to be used where it is needed (so far as I
> > > can see :)
> > That is correct. But at least on FreeBSD, the NOWAIT option is not available
> > for bus_dma_xxx(). That means the bus_dma system ignores the NOWAIT option,
> > and will sleep regardless of that. I don't know how it is on NetBSD.
> > bus_dma_xxx() is used when you allocate DMA'able memory.
> If so, that seems preposterous. I see no indication that the bus_dma(9)
> routines fail to take note of the NOWAIT option here.
Not that at last for bus_dmamem_*() NOWAIT doesn't mean it's safe to
call it from interrupt context. I had to change the ahc driver for this.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference