Alan Cox wrote:
Why do the two pages have to be physically contiguous? The stack just needs to be two contiguous pages in virtual memory, but they can map to any two pages anywhere in physical memory.Historically we allowed DMA off the stack on old x86 systems. Removing that while a good idea would take a lot of auditing. We also have a very limited vmalloc window for mapped pages and filling that with stacks would be bad.
Wow, DMA off the stack? That's just crazy. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Jesper Juhl <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: "Ray Lee" <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: "Jesper Juhl" <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Matt Mackall <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Phillip Susi <[email protected]>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Alan Cox <[email protected]>
- [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Prev by Date: Re: [patch] CFS scheduler, -v19
- Next by Date: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Previous by thread: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Next by thread: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Index(es):