Denis Vlasenko
|
380783acef
Introduce and use small[u]int type. Changes in size:
|
16 年之前 |
Mike Frysinger
|
1db7c76a0c
fix up malloc debug building
|
17 年之前 |
Mike Frysinger
|
c9210d3814
POSIX requires that errno be set whenever 0 is returned by malloc()
|
17 年之前 |
Mike Frysinger
|
010301e968
tweak the idea between having a MMU and actually using it
|
19 年之前 |
Peter S. Mazinger
|
af0172162f
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
|
19 年之前 |
Peter S. Mazinger
|
68ab26b26b
__malloc_consolidate is only libc internal, enable use of __sbrk
|
19 年之前 |
Peter S. Mazinger
|
77ccb5b1dc
mmap/mremap/socket/rewind gone
|
19 年之前 |
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 年之前 |