diff options
author | tedu <> | 2015-04-06 09:18:51 +0000 |
---|---|---|
committer | tedu <> | 2015-04-06 09:18:51 +0000 |
commit | e56348176744498230473ed4d21b8f23a9a1dbd0 (patch) | |
tree | 1e82d87580934cbf818e432392d9a0e76d21d9ea /src/lib/libc/stdlib/atexit.c | |
parent | b1e9cc97ccf66e48223a33794ce2be8fa9a9194f (diff) | |
download | openbsd-e56348176744498230473ed4d21b8f23a9a1dbd0.tar.gz openbsd-e56348176744498230473ed4d21b8f23a9a1dbd0.tar.bz2 openbsd-e56348176744498230473ed4d21b8f23a9a1dbd0.zip |
improve realloc. when expanding a region, actually use the free page cache
instead of simply zapping it. this can save many syscalls in a program
that repeatedly grows and shrinks a buffer, as observed in the wild.
Diffstat (limited to 'src/lib/libc/stdlib/atexit.c')
0 files changed, 0 insertions, 0 deletions