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 /share | |
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 'share')
0 files changed, 0 insertions, 0 deletions