summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test
diff options
context:
space:
mode:
authortedu <>2014-08-18 14:34:58 +0000
committertedu <>2014-08-18 14:34:58 +0000
commit4a4ae5928febf298d0cb163ef7387c7437a4ce8f (patch)
tree77af9b4c96ac96aed4cb4137da8f8db2e3eb3cee /src/lib/libssl/test
parent33382c0b1beae49c78c7ac9e9b707491c12db2f9 (diff)
downloadopenbsd-4a4ae5928febf298d0cb163ef7387c7437a4ce8f.tar.gz
openbsd-4a4ae5928febf298d0cb163ef7387c7437a4ce8f.tar.bz2
openbsd-4a4ae5928febf298d0cb163ef7387c7437a4ce8f.zip
a small tweak to improve malloc in multithreaded programs. we don't need
to hold the malloc lock across mmap syscalls in all cases. dropping it allows another thread to access the existing chunk cache if necessary. could be improved to be a bit more aggressive, but i've been testing this simple diff for some time now with good results.
Diffstat (limited to 'src/lib/libssl/test')
0 files changed, 0 insertions, 0 deletions