Greg Haerr writes:
>
> : The fixed size stack would probably be best placed just above the bss with
> : the heap above that. This would not require any mods to the linker or
> : binary format, just changes to the kernel.
> :
>
> What exactly is being gained by making this modification? The stack
> is fixed size in both cases. Is it just that we currently pre-reserve the maximum
> combined heap/stack now, and in the future wouldn't require the heap size
> to be known?
>
Thats it exactly. Currently even the samllest process reserves 32K for its
combined heap/stack, so we very quickly run out of memory. If we can start
processes with very little reserved heap, many of them hardly expand it at
all, and we can run many more processes at the same time.
Al