Subject: Re: bus dma in interrupt context
To: None <email@example.com>
From: Lennart Augustsson <firstname.lastname@example.org>
Date: 07/24/1998 00:20:54
> > Are the bus_dma functions supposed to be safe to call in an
> > interrupt context?
> > I'm freeing some memory in an interrupt routine and I keep
> > getting panics.
> Err... they should be, yes... but if you're loading a DMA map, or whatever,
> you should protect that section w/ spl...(). If allocating memory, splimp().
> If loading a DMA map, w/ spl<whatever_you_device_interrupts_at>().
I'm not sure how I can protect against what is happening since the
code that is interrupted when I free some memory isn't my code.
Here's the panic stack: