commit | 374d26a43bcceb12eb56ed7cc47815d7f933901c | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Wed May 09 14:48:35 2012 -0700 |
committer | Jason Evans <je@fb.com> | Wed May 09 14:48:35 2012 -0700 |
tree | a65a917b8f79b68bb3280edd0f0cea24f5035b84 | |
parent | de6fbdb72c6e1401b36f8f2073404645bac6cd2b [diff] |
Fix chunk_recycle() to stop leaking trailing chunks. Fix chunk_recycle() to correctly compute trailsize and re-insert trailing chunks. This fixes a major virtual memory leak. Simplify chunk_record() to avoid dropping/re-acquiring chunks_mtx.