summaryrefslogtreecommitdiff
path: root/src/common/mempool.c
AgeCommit message (Collapse)Author
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-25polish r9933-r9994Roger Dingledine
svn:r10335
2007-05-24 r12916@catbus: nickm | 2007-05-24 12:43:45 -0400Nick Mathewson
Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more. svn:r10304
2007-05-20 r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson
Address points in r10227. svn:r10229
2007-05-20point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine
items we should probably look into. svn:r10227
2007-04-23 r12499@catbus: nickm | 2007-04-23 10:42:23 -0400Nick Mathewson
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006
2007-04-19 r12458@catbus: nickm | 2007-04-19 15:52:23 -0400Nick Mathewson
Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells. svn:r9992
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-16 r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson
More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
2007-04-11 r12353@catbus: nickm | 2007-04-11 15:58:46 -0400Nick Mathewson
Apparently some compilers think that anonymous unions are bad C. Technically, they're right, so let's name the union in mempool.c. svn:r9946
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 r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939
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