[tor-commits] [tor/master] oops: changes file for f45cde05f934ee95e0002ff7d72f7006ce156a4c

nickm at torproject.org nickm at torproject.org
Mon Aug 13 18:32:10 UTC 2012

commit 182f463be96aefc4a4ea2250f3a8fbf288aae80c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 13 14:37:53 2012 -0400

    oops: changes file for f45cde05f934ee95e0002ff7d72f7006ce156a4c
 changes/no_malloc_roundup |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/changes/no_malloc_roundup b/changes/no_malloc_roundup
new file mode 100644
index 0000000..e7b4c8d
--- /dev/null
+++ b/changes/no_malloc_roundup
@@ -0,0 +1,8 @@
+  o Code simplification and refactoring:
+    - Finally remove support for malloc_good_size and malloc_usable_size.
+      We had hoped that these functions would let us eke a little more
+      memory out of our malloc implementation. Unfortunately, the only
+      implementations that provided these functions are also ones that
+      are already efficient about not overallocation: they never got us
+      more than 7 or so bytes per allocation. Removing them saves us
+      a little code complexity and a nontrivial amount of code complexity. 

More information about the tor-commits mailing list