r14588@catbus: nickm | 2007-08-16 12:04:44 -0400

Backport r10994: stop using SENTINELS checking, in order to use less  RAM in buffer allocation.


svn:r11132
This commit is contained in:
Nick Mathewson 2007-08-16 16:41:36 +00:00
parent bc0692a5d9
commit 2b00470094
3 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,14 @@
Changes in version 0.1.2.xx - 2007-xxxxx
o
o Minor bugfixes (performance):
- Save on most routerlist_assert_ok() calls in routerlist.c,
thus greatly speeding up loading cached-routers from disk on
startup (backport from trunk).
- Disable sentiel-based debugging for buffer code: we squashed all
the bugs that this was supposed to detect a long time ago, and
now its only effect is to change our buffer sizes from nice
powers of two (which platform mallocs tend to like) to values
slightly over powers of two (which make some platform mallocs sad).
Changes in version 0.1.2.16 - 2007-08-01
o Major security fixes:

View File

@ -1,7 +1,7 @@
Backport items for 0.1.2:
- r10939: Choose with complete fairness when exits are weighted.
- r10956: fix the math for exit bandwidth weighting
- r10994: Disable SENTINELS checking in order to use less RAM in
o r10994: Disable SENTINELS checking in order to use less RAM in
buffer allocation.
- r11117: cookie auth more usable
- disable v0 control protocol

View File

@ -15,7 +15,7 @@ const char buffers_c_id[] =
#include "or.h"
#define SENTINELS
#undef SENTINELS
#undef CHECK_AFTER_RESIZE
#undef PARANOIA
#undef NOINLINE