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:
parent
bc0692a5d9
commit
2b00470094
|
@ -1,8 +1,14 @@
|
||||||
Changes in version 0.1.2.xx - 2007-xxxxx
|
Changes in version 0.1.2.xx - 2007-xxxxx
|
||||||
o
|
o Minor bugfixes (performance):
|
||||||
- Save on most routerlist_assert_ok() calls in routerlist.c,
|
- Save on most routerlist_assert_ok() calls in routerlist.c,
|
||||||
thus greatly speeding up loading cached-routers from disk on
|
thus greatly speeding up loading cached-routers from disk on
|
||||||
startup (backport from trunk).
|
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
|
Changes in version 0.1.2.16 - 2007-08-01
|
||||||
o Major security fixes:
|
o Major security fixes:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Backport items for 0.1.2:
|
Backport items for 0.1.2:
|
||||||
- r10939: Choose with complete fairness when exits are weighted.
|
- r10939: Choose with complete fairness when exits are weighted.
|
||||||
- r10956: fix the math for exit bandwidth weighting
|
- 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.
|
buffer allocation.
|
||||||
- r11117: cookie auth more usable
|
- r11117: cookie auth more usable
|
||||||
- disable v0 control protocol
|
- disable v0 control protocol
|
||||||
|
|
|
@ -15,7 +15,7 @@ const char buffers_c_id[] =
|
||||||
|
|
||||||
#include "or.h"
|
#include "or.h"
|
||||||
|
|
||||||
#define SENTINELS
|
#undef SENTINELS
|
||||||
#undef CHECK_AFTER_RESIZE
|
#undef CHECK_AFTER_RESIZE
|
||||||
#undef PARANOIA
|
#undef PARANOIA
|
||||||
#undef NOINLINE
|
#undef NOINLINE
|
||||||
|
|
Loading…
Reference in New Issue