summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/atexit.c
diff options
context:
space:
mode:
authortedu <>2015-04-06 09:18:51 +0000
committertedu <>2015-04-06 09:18:51 +0000
commite56348176744498230473ed4d21b8f23a9a1dbd0 (patch)
tree1e82d87580934cbf818e432392d9a0e76d21d9ea /src/lib/libc/stdlib/atexit.c
parentb1e9cc97ccf66e48223a33794ce2be8fa9a9194f (diff)
downloadopenbsd-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