diff options
author | otto <> | 2022-02-26 16:14:42 +0000 |
---|---|---|
committer | otto <> | 2022-02-26 16:14:42 +0000 |
commit | c5273921395aa49c913ac5a1325c7eb78a50292c (patch) | |
tree | eedb761db3c5aebae973ef73ef1f63a888027635 /src/lib/libc/crypt | |
parent | 241f81f05560b5b5be14de78e45d18c5a5899b06 (diff) | |
download | openbsd-c5273921395aa49c913ac5a1325c7eb78a50292c.tar.gz openbsd-c5273921395aa49c913ac5a1325c7eb78a50292c.tar.bz2 openbsd-c5273921395aa49c913ac5a1325c7eb78a50292c.zip |
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 'src/lib/libc/crypt')
0 files changed, 0 insertions, 0 deletions