diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:08 +0000 |
commit | 809227a121136d4c48ea09ad96aef5ecb9eb15eb (patch) | |
tree | 9268a8c4b54c49c1c376a92dbfc9544503761616 /src/common/crypto.c | |
parent | 5d250d3e1b8eab09b438516f790082204441b6e3 (diff) | |
download | tor-809227a121136d4c48ea09ad96aef5ecb9eb15eb.tar tor-809227a121136d4c48ea09ad96aef5ecb9eb15eb.tar.gz |
r14061@tombo: nickm | 2008-02-08 14:30:42 -0500
Add a couple of (currently disabled) strategies for trying to avoid using too much ram in memory pools: prefer putting new cells in almost-full chunks, and be willing to free the last empty chunk if we have not needed it for a while. Also add better output to mp_pool_log_status to track how many mallocs a given memory pool strategy is saving us, so we can tune the mempool parameters.
svn:r13428
Diffstat (limited to 'src/common/crypto.c')
0 files changed, 0 insertions, 0 deletions