help with malloc on microport

Charles Hedrick hedrick at athos.rutgers.edu
Thu Aug 25 03:40:40 AEST 1988


I have a malloc for the large model of SV/AT.  It is based on the Cal
Tech malloc, used by 4.3BSD, Unipress Emacs, and Gnu Emacs.  My
version for microport is tuned so it does a minimum number of sbrk
calls.  Thus using it will both get around the bugs in both versions
of malloc supported (?) by Uport, and will also improve performance of
programs that do a lot of mallocing.  The performance difference can
be quite dramatic, because the standard malloc tends to cause a lot of
swapping activity.  I've posted this already, so I don't think it's a
good idea to post it again.  However I'd be happy to mail it to anyone
who wants it.  By the way, I should thank Unipress for allowing me to
make it available, since it is based on their malloc. This malloc
would not be appropriate for the 386 version, nor would it work for
the small model.  If the 386 malloc is as bad as the 286 one, it would
be easy to produce a version of the same code for it, but this version
is carefully tuned for the 286.



More information about the Comp.unix.microport mailing list