aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/fseek.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-01 23:07:03 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-01 23:07:03 -0400
commitbf8785825ac57371c268f54866923d6f89231639 (patch)
treee4df93ab7d90452da3bf170689acb930ce29e057 /src/stdio/fseek.c
parentreorganize the __libc structure for threaded performance issues (diff)
downloadgrovel-bf8785825ac57371c268f54866923d6f89231639.tar.gz
grovel-bf8785825ac57371c268f54866923d6f89231639.tar.xz
avoid over-allocation of brk on first malloc
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.
Diffstat (limited to 'src/stdio/fseek.c')
0 files changed, 0 insertions, 0 deletions