Re: [14/18] Configure stack size

From: Christoph Lameter
Date: Thu Oct 04 2007 - 15:34:20 EST


On Wed, 3 Oct 2007, David Miller wrote:

> > there is still code that does DMA from and to the stack....
> > how would this work with virtual allocated stack?
>
> That's a bug and must be fixed.
>
> There honestly shouldn't be that many examples around.
>
> FWIW, there are platforms using a virtually allocated kernel stack
> already.

There would be a way to address this by checking in the DMA layer for a
virtually mapped page and then segmenting I/O at the page boundaries to
the individual pages. We may need that anyways for large block sizes.



-
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/