diff options
author | Matt Traudt <sirmatt@ksu.edu> | 2017-07-11 12:47:37 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-09-15 11:40:59 -0400 |
commit | dde358667d386d2c7b28866b029effa062ab9b6d (patch) | |
tree | c5dd77b8622b4366509d424b9245c3d6bba11fff /src/or/channel.c | |
parent | 2034e0d1d42c4f36a24c1eb88f95d057dacacf72 (diff) | |
download | tor-dde358667d386d2c7b28866b029effa062ab9b6d.tar.gz tor-dde358667d386d2c7b28866b029effa062ab9b6d.zip |
sched: Implement the KIST scheduler
Closes #12541
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channel.c')
-rw-r--r-- | src/or/channel.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index d64a0347a9..56c54c0c51 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -4826,8 +4826,6 @@ channel_update_xmit_queue_size(channel_t *chan) U64_FORMAT ", new size is " U64_FORMAT, U64_PRINTF_ARG(adj), U64_PRINTF_ARG(chan->global_identifier), U64_PRINTF_ARG(estimated_total_queue_size)); - /* Tell the scheduler we're increasing the queue size */ - scheduler_adjust_queue_size(chan, 1, adj); } } else if (queued < chan->bytes_queued_for_xmit) { adj = chan->bytes_queued_for_xmit - queued; @@ -4850,8 +4848,6 @@ channel_update_xmit_queue_size(channel_t *chan) U64_FORMAT ", new size is " U64_FORMAT, U64_PRINTF_ARG(adj), U64_PRINTF_ARG(chan->global_identifier), U64_PRINTF_ARG(estimated_total_queue_size)); - /* Tell the scheduler we're decreasing the queue size */ - scheduler_adjust_queue_size(chan, -1, adj); } } } |