Miles Bader
|
84c79075fa
More fiddling with static free-areas: make sure both their size _and_
|
il y a 21 ans |
Miles Bader
|
a436319a3a
Make sure we don't allocate too little space for static free-areas
|
il y a 21 ans |
Miles Bader
|
f32264c802
Make sure static heaps are aligned correctly.
|
il y a 21 ans |
Eric Andersen
|
61c1db2f67
'extern inline' doesn't work... Use 'static inline'
|
il y a 21 ans |
Eric Andersen
|
db7c5027f4
Fix malloc so it compiles and works when using pthreads
|
il y a 22 ans |
Miles Bader
|
306eedf9ae
* Add support for uClinux's broken munmap, contingent on
|
il y a 22 ans |
Miles Bader
|
73f88c8f7e
Update debugging hooks.
|
il y a 22 ans |
Miles Bader
|
4d5bd6060d
(__heap_delete): Renamed from `__heap_unlink_free_area'.
|
il y a 22 ans |
Miles Bader
|
0f66c96633
(likely, unlikely): New macros.
|
il y a 22 ans |
Miles Bader
|
3b836d665f
(HEAP_MIN_SIZE): New macro.
|
il y a 22 ans |
Miles Bader
|
056f9d9894
Redo the locking, so that it may actually work. Now locking is done at
|
il y a 22 ans |
Miles Bader
|
cf61ef0c09
Factor out some common code sequences into inline functions.
|
il y a 22 ans |
Miles Bader
|
83cef9f931
* Automatically try to unmap heap free-areas when they get very big.
|
il y a 22 ans |
Miles Bader
|
246192008b
Rename mutex stuff to use heap-specific names.
|
il y a 22 ans |
Eric Andersen
|
35d29fcb08
Miles Bader implemented a new mmap based malloc which is much
|
il y a 22 ans |