Re: dma-debug: check_for_stack background?

From: Ben Dooks
Date: Sun Jun 14 2009 - 17:20:51 EST


On Sun, Jun 14, 2009 at 08:56:29PM +0200, Stefan Richter wrote:
> Hi,
>
> it took a while but I finally noticed that the DMA debug facility warns
> about mappings of on-stack memory. What's the problem with that? Are
> there architectures which don't support such mappings, or is it a
> question of caution not to DMA-map the stack?

I'm not sure if it is possible on all architectures, however the
DMA mapping documentation prohibts the use of stack memory.

--
Ben (ben@xxxxxxxxx, http://www.fluff.org/)

'a smiley only costs 4 bytes'
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/