diff options
| author | tedu <> | 2015-04-06 09:18:51 +0000 |
|---|---|---|
| committer | tedu <> | 2015-04-06 09:18:51 +0000 |
| commit | 624f175c4f67570150d01364c1e08bdbeeb38eb9 (patch) | |
| tree | 1e82d87580934cbf818e432392d9a0e76d21d9ea /src/regress/lib/libc/stdio_threading/fgets | |
| parent | 3964b43b86a41724b5c18a4d8e594c5274eb25ee (diff) | |
| download | openbsd-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/regress/lib/libc/stdio_threading/fgets')
0 files changed, 0 insertions, 0 deletions
