summaryrefslogtreecommitdiff
path: root/src/lib/libc/include/atfork.h
diff options
context:
space:
mode:
authortedu <>2015-04-06 09:18:51 +0000
committertedu <>2015-04-06 09:18:51 +0000
commit624f175c4f67570150d01364c1e08bdbeeb38eb9 (patch)
tree1e82d87580934cbf818e432392d9a0e76d21d9ea /src/lib/libc/include/atfork.h
parent3964b43b86a41724b5c18a4d8e594c5274eb25ee (diff)
downloadopenbsd-624f175c4f67570150d01364c1e08bdbeeb38eb9.tar.gz
openbsd-624f175c4f67570150d01364c1e08bdbeeb38eb9.tar.bz2
openbsd-624f175c4f67570150d01364c1e08bdbeeb38eb9.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/include/atfork.h')
0 files changed, 0 insertions, 0 deletions