Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-03 | sched: Implement SCHED_BUG() | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-25 | sched: make interval a plain int; initialize with macro | Matt Traudt | |
2017-09-25 | sched: Make KISTSchedRunInterval non negative | David Goulet | |
Fixes #23539. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-22 | sched: only log when scheduler type changes | Matt Traudt | |
Closes 23552. Thanks dgoulet for original impl | |||
2017-09-19 | sched: reorder code to fit comment bodies; comment typos | Matt Traudt | |
Closes 23560 | |||
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-15 | sched: Define SCHEDULER_KIST_PRIVATE for more encapsulation | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: Make the scheduler object static | David Goulet | |
Each type of scheduler implements its own static scheduler_t object and returns a reference to it. This commit also makes it a const pointer that is it can only change inside the scheduler type subsystem but not outside for extra protection. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: Don't expose the global scheduler libevent object | David Goulet | |
Instead, add wrappers to do the needed action the different scheduler needs with the libevent object. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: Add Schedulers torrc option | David Goulet | |
This option is a list of possible scheduler type tor can use ordered by priority. Its default value is "KIST,KISTLite,Vanilla" which means that KIST will be used first and if unavailable will fallback to KISTLite and so on. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: rename scheduler to the_scheduler | Matt Traudt | |
2017-09-15 | sched: validate KIST sched options | Matt Traudt | |
2017-09-15 | sched: switch to monotonic time; add/fix comments, style, and logs msgs | Matt Traudt | |
2017-09-15 | sched: Detect KIST support at compile time | David Goulet | |
Add a detection for the KIST scheduler in our build system and set HAVE_KIST_SUPPORT if available. Adapt the should use kist function with this new compile option. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: Implement the KIST scheduler | Matt Traudt | |
Closes #12541 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-07 | consensus: Add a generic notification function on new consensus | Matt Traudt | |
Some groundwork for the KIST scheduler implementation. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-06-11 | Add -Wmissing-variable-declarations, with attendant fixes | Nick Mathewson | |
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests. | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2015-02-06 | Fix scheduler compilation on targets where char is unsigned. | Yawning Angel | |
Per discussion with nickm, the `dir` argument should be a int rather than a signed char. Fixes bug #14764. | |||
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-10-07 | Make queue thresholds and flush size for global scheduler into config options | Andrea Shepard | |
2014-09-30 | Make scheduler_compare_channels() mockable | Andrea Shepard | |
2014-09-30 | Make scheduler_run() mockable | Andrea Shepard | |
2014-09-30 | Expose scheduler_compare_channels() to test suite | Andrea Shepard | |
2014-09-30 | Make some scheduler.c static functions visible to the test suite | Andrea Shepard | |
2014-09-30 | Make scheduler_channel_doesnt_want_writes() mockable | Andrea Shepard | |
2014-09-30 | Make scheduler_channel_doesnt_want_writes() mockable | Andrea Shepard | |
2014-09-30 | Make scheduler_release_channel() mockable | Andrea Shepard | |
2014-09-30 | Implement scheduler_touch_channel() | Andrea Shepard | |
2014-09-30 | Schedule according to a queue size heuristic | Andrea Shepard | |
2014-09-30 | Implement scheduler mechanism to track lists of channels wanting cells or ↵ | Andrea Shepard | |
writes; doesn't actually drive the cell flow from it yet |