Messages in this thread | | | From | Denis Vlasenko <> | Subject | Re: Kernel stack overflow on 2.6.9-rc2 | Date | Tue, 14 Sep 2004 22:43:55 +0300 |
| |
On Tuesday 14 September 2004 20:55, Richard B. Johnson wrote: > Has anybody ever explained why there is an attempt to > minimize the size of the kernel stack? Temporary data > allocation on the stack is FREE! The compiler just > adjusts offsets for data. Even dynamic data-allocation > takes only one instruction, (subl %reg, %esp).
IIRC it is done in order to be able to support large number of threads on 32-bit machines and to avoid needing to do a order-1 allocation at fork(). -- vda
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |