Eric Andersen
|
921fde55c3
Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.
|
20 年之前 |
Miles Bader
|
0a8bcf917a
Don't set errno if for zero SIZE returns.
|
21 年之前 |
Eric Andersen
|
cd34085f2c
Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,
|
21 年之前 |
Eric Andersen
|
a4ba059034
Add in a MALLOC_GLIBC_COMPAT option to let people decide if they
|
21 年之前 |
Eric Andersen
|
a018fc5564
Update malloc behavior on malloc(0) to be consistant with
|
22 年之前 |
Miles Bader
|
4d952dfe77
Improve malloc debugging support.
|
22 年之前 |
Miles Bader
|
08d4be6799
Don't infinitely recurse when trying to grow __malloc_mmb_heap.
|
22 年之前 |
Miles Bader
|
6882d43363
Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.
|
22 年之前 |
Miles Bader
|
306eedf9ae
* Add support for uClinux's broken munmap, contingent on
|
22 年之前 |
Miles Bader
|
73f88c8f7e
Update debugging hooks.
|
22 年之前 |
Miles Bader
|
505ca20e32
Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.
|
22 年之前 |
Miles Bader
|
bdc62ea2b8
(malloc): Use MALLOC_SETUP.
|
22 年之前 |
Miles Bader
|
1c0f265241
Add flow-control hints with __malloc_likely and __malloc_unlikely.
|
22 年之前 |
Miles Bader
|
dfa6a5382a
Update debugging printfs.
|
22 年之前 |
Miles Bader
|
def04f26ab
Use MALLOC_HEADER_SIZE.
|
22 年之前 |
Miles Bader
|
906ffafd8b
MALLOC_SET_SIZE now takes the user-address rather than the base-address.
|
22 年之前 |
Miles Bader
|
a3483a6eb0
Use new malloc header macros.
|
22 年之前 |
Miles Bader
|
c5568de190
Size tweaks.
|
22 年之前 |
Miles Bader
|
5446f4e74f
Miscellaneous tidying-up.
|
22 年之前 |
Miles Bader
|
056f9d9894
Redo the locking, so that it may actually work. Now locking is done at
|
22 年之前 |
Miles Bader
|
a4214b2491
Misc small cleanups.
|
22 年之前 |
Miles Bader
|
83cef9f931
* Automatically try to unmap heap free-areas when they get very big.
|
22 年之前 |
Miles Bader
|
3bbbba11f7
Doc fix.
|
22 年之前 |
Eric Andersen
|
35d29fcb08
Miles Bader implemented a new mmap based malloc which is much
|
22 年之前 |
Eric Andersen
|
f24155cd29
Minor cleanup
|
23 年之前 |
Eric Andersen
|
2512c84745
Update to accomodate the header file changes
|
23 年之前 |
Eric Andersen
|
e2f6ebd3f2
Fix up breakage resulting from flipping the sense of some defines. Change from
|
24 年之前 |
Eric Andersen
|
2109636071
Update to "malloc" so it will work on CPUs not supporting non-aligned words.
|
24 年之前 |
Eric Andersen
|
eafdf1b819
Reduce dependancies -- don't use sysconf() internal to libc.
|
24 年之前 |
Eric Andersen
|
6c7a9c98a3
"I will always compile before I commit."
|
24 年之前 |