NOMMU: stack versus malloc?
Denys Vlasenko
vda.linux at googlemail.com
Tue Oct 9 11:49:57 PDT 2007
A question to people who work with NOMMU machines:
Obviously, having small stack usage is important for
small, NOMMU machines.
However, after a certain point you cannot just eliminate
stack usage, you must move it to other storage.
For example, lineedit.c currently eats 12k+ if stack.
I can convert it into malloc use.
Question: is it better or actually worse?
Line editing is invoked repeatedly, and repeated malloc/free
of random-sized blocks can increase fragmentation
-> increase memory consumption.
Please share your experience.
--
vda
More information about the busybox
mailing list