Re: managing stack
Posted: Sun Mar 11, 2012 5:55 am
You need to tell the linker for that, the default is only a reasonable size for normal usage.Yoda wrote:what if application allocates too much memory on stack for local variables?
You need to tell the linker for that, the default is only a reasonable size for normal usage.Yoda wrote:what if application allocates too much memory on stack for local variables?
Individual stacks of each thread could still collide, if you have enough threads.bluemoon wrote:I would rather switch to 64-bit and have huge grap between heap and stack. (In fact I'm branching out a 64-bit kernel for the very same reason, the 32-bit address space are too crowed to separate things nicely...)