diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-18 15:00:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-18 15:00:07 +0000 |
commit | 35d29fcb08fadaf006561a058746b0fce76a6a74 (patch) | |
tree | b42a59394f8ee7dc7c11f71ae2d45b1e1beb834b /extra/Configs/Config.sh | |
parent | 3b1e82407a02aed6319c6686c5b06c2051a20cca (diff) |
Miles Bader implemented a new mmap based malloc which is much
smarter than the old "malloc-simple", and actually works, unlike
the old "malloc". So kill the old "malloc-simple" and the old
"malloc" and replace them with Miles' new malloc implementation.
Update Config files to match. Thanks Miles!
Diffstat (limited to 'extra/Configs/Config.sh')
-rw-r--r-- | extra/Configs/Config.sh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 399d6bcc5..0b6fccc25 100644 --- a/extra/Configs/Config.sh +++ b/extra/Configs/Config.sh @@ -110,18 +110,16 @@ HAS_LOCALE = false HAS_WCHAR = false # This specifies which malloc implementation is used. -# "malloc-simple" is very, very small, but is also very, very dumb -# and does not try to make good use of memory or clean up after itself. # -# "malloc" on the other hand is a bit bigger, but is pretty smart thereby -# minimizing memory wastage and reusing already allocated memory. This -# can be lots faster and safer IMHO. +# "malloc" use mmap for all allocations and so works very well on MMU-less +# systems that do not support the brk() system call. It is pretty smart +# about reusing already allocated memory, and minimizing memory wastage. # -# "malloc-930716" is from libc-5.3.12 and was/is the standard gnu malloc. -# It is actually smaller than "malloc", but because it is based on brk/sbrk -# it will only work on systems with an MMU. -MALLOC = malloc-simple -#MALLOC = malloc +# "malloc-930716" is derived from libc-5.3.12 and uses the brk() system call +# for all memory allocations. This makes it very fast. It is also pretty +# smart about reusing already allocated memory, and minimizing memory wastage. +# Because this uses brk() it will not work on uClinux MMU-less systems. +MALLOC = malloc #MALLOC = malloc-930716 # If you want to collect common syscall code into one function, set to this to |