[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9683 [Tor]: circuit_unlink_all_from_channel() is a performance bottleneck?



#9683: circuit_unlink_all_from_channel() is a performance bottleneck?
------------------------+------------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  major   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay 024-backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+------------------------------------

Comment (by andrea):

 I think it's safe to do this; we immediately exit handling any cells in
 relay.c if a circuit is marked for close - see
 append_cell_to_circuit_queue() and circuit_receive_relay_cell().  Probably
 best to patch circuit_mark_for_close() to null out n_chan/p_chan and test
 it a few days as a relay to see if it blows up, just to be sure.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9683#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs