NOMMU: stack versus malloc?

Bernhard Fischer rep.dot.nop at gmail.com
Tue Oct 9 20:49:07 UTC 2007


On Tue, Oct 09, 2007 at 09:34:02PM +0100, Denys Vlasenko wrote:

>> AFAIK there was RESERVE_CONFIG_BUFFER for (potentially big) stack users.
>
>Yes. But it looks like _nobody_ benefits from big objects on stack.
>So I intend to gradually move big stack users to malloc.

Well, if you have a very dumb (but fast) allocator and you're very
sensitive WRT fragmentation but have enough stack space available,
then avoiding malloc() is a good thing.



More information about the busybox mailing list