summaryrefslogtreecommitdiff
path: root/src/common/mempool.h
AgeCommit message (Collapse)Author
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-02-27Update Tor Project copyright yearsNick Mathewson
2009-05-04Update copyright to 2009.Karsten Loesing
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
2008-12-29Use a consistent naming standard for header file guard macros, taking care ↵Nick Mathewson
not to collide with any system headers. This tripped us up on Android. svn:r17805
2008-02-12 r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
2008-02-09doxygen and other cleanupsRoger Dingledine
svn:r13440
2008-02-08 r14061@tombo: nickm | 2008-02-08 14:30:42 -0500Nick Mathewson
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
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-04-19 r12456@catbus: nickm | 2007-04-19 14:47:01 -0400Nick Mathewson
Make dumpmemusage() dump cell pool usage information. svn:r9991
2007-04-11 r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944
2007-04-11 r12344@catbus: nickm | 2007-04-10 21:27:25 -0400Nick Mathewson
Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942
2007-04-11 r12338@catbus: nickm | 2007-04-10 20:29:05 -0400Nick Mathewson
Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
2007-04-11 r12336@catbus: nickm | 2007-04-10 17:34:25 -0400Nick Mathewson
Unit tests and debugging for memory pool implementation. svn:r9938
2007-04-11 r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937