projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
bf87858
)
avoid over-allocation of brk on first malloc
author
Rich Felker
<dalias@aerifal.cx>
Sat, 2 Apr 2011 03:07:03 +0000
(23:07 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 2 Apr 2011 03:07:03 +0000
(23:07 -0400)
if init_malloc returns positive (successful first init), malloc will
retry getting a chunk from the free bins rather than expanding the
heap again. also pass init_malloc a hint for the size of the initial
allocation.
No differences found