Thread (5 messages) flat view 5 messages, 3 authors, 2004-09-14

Re: Kernel stack overflow on 2.6.9-rc2

From: Denis Vlasenko <hidden>
Date: 2004-09-14 19:48:00
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help