diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2022-02-26 16:14:43 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2022-02-26 16:14:43 +0000 |
commit | 43394065e002cc0ff44d8bc3853344f0b5a90f76 (patch) | |
tree | 0fb5c22ed52b8a0cf66cfcf27ba733200aa4980b /lib/libc/stdlib/strtoul.3 | |
parent | 49e6871620b7e217e013f18a91fc123f3e98d282 (diff) |
Currently malloc caches a number of free'ed regions up to 128k
in size. This cache is indexed by size (in # of pages), so it is
very quick to check. Some programs allocate and deallocate larger
allocations in a frantic way. Accomodate those programs by also
keeping a cache of regions between 128k and 2M, in a cache of variable
sized regions.
Tested by many in snaps; ok deraadt@
Diffstat (limited to 'lib/libc/stdlib/strtoul.3')
0 files changed, 0 insertions, 0 deletions