[uClibc-cvs] cvs commit to uClibc/libc/stdlib/malloc by miles

miles at uclibc.org miles at uclibc.org
Wed Oct 9 10:27:57 UTC 2002


Repository: uClibc/libc/stdlib/malloc
who:        miles
time:       Wed Oct  9 04:27:56 MDT 2002


Log Message:

* Add support for uClinux's broken munmap, contingent on
  __UCLIBC_UCLINUX_BROKEN_MUNMAP__ (which is currently not defined anywhere).
  This makes other cases a tiny bit less efficient too.
* Move the malloc lock into the heap structure (locking is still done
  at the malloc level though, not by the heap functions).
* Initialize the malloc heap to contain a tiny initial static free-area so
  that programs that only do a very little allocation won't ever call mmap.


Files:

changed:    malloc.h malloc.c heap.h free.c




More information about the uClibc-cvs mailing list