[tor-bugs] #25148 [Core Tor/Tor]: Make geoip_client_cache_total_allocation() use geoip_client_history_cache_size

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 5 15:31:40 UTC 2018


#25148: Make geoip_client_cache_total_allocation() use
geoip_client_history_cache_size
------------------------------+------------------------------------
     Reporter:  dgoulet       |      Owner:  dgoulet
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-geoip, performance
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------
 In commit `4d812e29b9b1ec88`, we forgot to make the function returning the
 total allocation return the counter instead of going over all entries
 which hugs the CPU like crazy.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25148>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list