diff options
| author | otto <> | 2020-09-06 06:41:03 +0000 |
|---|---|---|
| committer | otto <> | 2020-09-06 06:41:03 +0000 |
| commit | 764cad0b41a6709d8db171bee28134987f460c1a (patch) | |
| tree | 5ce667fce922963fd1b9912e3f2e6db8ddb2574c /src/lib/libc/string/memmove.c | |
| parent | 74441e9d617ee07f06388b7f86f34dbccc8a410a (diff) | |
| download | openbsd-764cad0b41a6709d8db171bee28134987f460c1a.tar.gz openbsd-764cad0b41a6709d8db171bee28134987f460c1a.tar.bz2 openbsd-764cad0b41a6709d8db171bee28134987f460c1a.zip | |
For page-sized and larger allocations do not put the pages we're
shaving off into the cache but unamp them. Pages in the cache get
re-used and then a future grow of the first allocation will be
hampered. Also make realloc a no-op for small shrinkage.
ok deraadt@
Diffstat (limited to 'src/lib/libc/string/memmove.c')
0 files changed, 0 insertions, 0 deletions
