OSDN Git Service

* Automatically try to unmap heap free-areas when they get very big.
authorMiles Bader <miles@lsi.nec.co.jp>
Tue, 23 Jul 2002 06:50:40 +0000 (06:50 -0000)
committerMiles Bader <miles@lsi.nec.co.jp>
Tue, 23 Jul 2002 06:50:40 +0000 (06:50 -0000)
commit83cef9f931bcd2030f42079c332525e1e73ab6aa
tree5867067ac5387998a301f69a59ca6d78b26680d5
parenta9752043dd652d0fb4addf947b76e57c588f430c
* Automatically try to unmap heap free-areas when they get very big.

* Instead of using mmap/munmap directly for large allocations, just use
  the heap for everything (this is reasonable now that heap memory can
  be unmapped).

* Use sbrk instead of mmap/munmap on systems with an MMU.
libc/stdlib/malloc/Makefile
libc/stdlib/malloc/free.c
libc/stdlib/malloc/heap.h
libc/stdlib/malloc/heap_append_free.c [deleted file]
libc/stdlib/malloc/heap_free.c
libc/stdlib/malloc/malloc.c
libc/stdlib/malloc/malloc.h
libc/stdlib/malloc/realloc.c