summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorotto <>2022-02-26 16:14:42 +0000
committerotto <>2022-02-26 16:14:42 +0000
commitb9a07308bf393074d3bc822f5d326959d6620f23 (patch)
treeeedb761db3c5aebae973ef73ef1f63a888027635 /src/lib/libcrypto/objects/obj_dat.c
parente29735531148d227a52ccd6fa19e0b2cdf8b7b83 (diff)
downloadopenbsd-b9a07308bf393074d3bc822f5d326959d6620f23.tar.gz
openbsd-b9a07308bf393074d3bc822f5d326959d6620f23.tar.bz2
openbsd-b9a07308bf393074d3bc822f5d326959d6620f23.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/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions