Re: [14/18] Configure stack size

Christoph Lameter
2007-10-04T19:34:18Z

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.