diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-11-27 22:51:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-27 22:51:13 -0500 |
commit | b1e1b439b892624b7dbe2f631a9ddb41b16ecdd6 (patch) | |
tree | c5989703f4776a0b4c92e652c78b65e154ede3d2 /src/or/onion_tap.c | |
parent | 0e0dc7d787ef867a24b2e630bf1db72227b24fef (diff) | |
download | tor-b1e1b439b892624b7dbe2f631a9ddb41b16ecdd6.tar.gz tor-b1e1b439b892624b7dbe2f631a9ddb41b16ecdd6.zip |
Fix some issues with the scheduler configuration options
1) Set them to the values that (according to Rob) avoided performance
regressions. This means that the scheduler won't get much exercise
until we implement KIST or something like it.
2) Rename the options to end with a __, since I think they might be
going away, and nobody should mess with them.
3) Use the correct types for the option variables. MEMUNIT needs to be a
uint64_t; UINT needs to be (I know, I know!) an int.
4) Validate the values in options_validate(); do the switch in
options_act(). This way, setting the option to an invalid value on
a running Tor will get backed out.
Diffstat (limited to 'src/or/onion_tap.c')
0 files changed, 0 insertions, 0 deletions