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

Re: [tor-bugs] #10116 [Tor]: Avoid memory allocation in OOM handler



#10116: Avoid memory allocation in OOM handler
-----------------------------+-----------------------------------------
     Reporter:  nickm        |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-relay oom 026-triaged-1
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------------------------------
Changes (by nickm):

 * status:  needs_review => needs_revision


Comment:

 Replying to [comment:5 arma]:
 > Replying to [ticket:10116 nickm]:
 > > Options here include:
 > >   * Turn global_circuitlist into an array (smartlist) structure.
 >
 > What are the arguments in favor of the linked list and against a
 smartlist?

 The only argument I can think of is that the linked-list code already
 exists, and that if we go with a smartlist instead, we might screw up
 somehow doing the conversion.

 IOW, I think we should take the conversion-to-smartlist approach.  I can
 whip up a patch.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10116#comment:6>
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