Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

From: Alan Cox
Date: Wed Jul 18 2007 - 13:27:46 EST


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