tor/src/or
Nick Mathewson 8e388bc39c Only call cull_wedged_cpuworkers once every 60 seconds.
The function is over 10 or 20% on some of Moritz's profiles, depending
on how you could.

Since it's checking for a multi-hour timeout, this is safe to do.

Fixes bug 4518.
2011-11-19 18:30:55 -05:00
..
buffers.c Use a 64-bit type to hold sockets on win64. 2011-05-23 00:17:48 -04:00
buffers.h Use a 64-bit type to hold sockets on win64. 2011-05-23 00:17:48 -04:00
circuitbuild.c Fix a memleak when fetching descriptors for bridges in ExcludeNodes. 2011-11-03 13:23:50 -04:00
circuitbuild.h Preserve bridge download status across SETCONF, HUP 2011-05-15 20:13:44 -04:00
circuitlist.c Correct a comment 2011-06-24 15:18:22 -07:00
circuitlist.h Add a circuit_purpose_to_string() function, and use it 2011-04-27 00:01:35 -04:00
circuituse.c Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 2011-06-17 15:24:23 -04:00
circuituse.h Raise the TrackHostExits membership code into its own function 2011-05-13 16:22:10 -04:00
command.c Discard all cells on a marked connection 2011-10-28 17:04:15 -04:00
command.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
config_codedigest.c fix codestyle issues 2009-05-24 02:42:37 +02:00
config.c Disable stats requiring geoip info if we have none 2011-10-29 11:20:02 +02:00
config.h stop putting wacky values into state->lastwritten 2011-04-28 20:40:15 -04:00
connection_edge.c Fix crash when changing node restrictions with DNS lookup in progress 2011-10-19 23:14:05 -04:00
connection_edge.h Handle transitions in Automap*, VirtualAddrNetwork correctly 2011-05-13 16:59:31 -04:00
connection_or.c Use real_addr in send_netinfo 2011-11-14 22:43:40 -05:00
connection_or.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
connection.c Don't write ControlPorts to disk till after we setuid and make datadir 2011-08-17 11:22:16 -04:00
connection.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
control.c manually backport a5232e0c4c 2011-10-26 17:11:52 -04:00
control.h Merge branch 'feature3049-v2' into maint-0.2.2 2011-05-23 01:19:04 -04:00
cpuworker.c Only call cull_wedged_cpuworkers once every 60 seconds. 2011-11-19 18:30:55 -05:00
cpuworker.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
directory.c manually backport a5232e0c4c 2011-10-26 17:11:52 -04:00
directory.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
dirserv.c Add option to give guard flag to relays without the CVE-2011-2768 fix 2011-10-26 23:56:47 +02:00
dirserv.h make make check-spaces happier. 2011-04-27 15:18:34 -04:00
dirvote.c manually backport a5232e0c4c 2011-10-26 17:11:52 -04:00
dirvote.h Add a VoteOnHidServDirectoriesV2 configuration option 2011-06-03 12:16:55 -04:00
dns.c log the reason for publishing a new relay descriptor 2011-05-19 23:59:52 -04:00
dns.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
dnsserv.c client-side DNS proxy server: reply NOTIMPL to unsupported queries 2011-06-13 13:37:45 -04:00
dnsserv.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
eventdns_tor.h Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
eventdns.c manually backport a5232e0c4c 2011-10-26 17:11:52 -04:00
eventdns.h Use a 64-bit type to hold sockets on win64. 2011-05-23 00:17:48 -04:00
geoip.c Specify text or binary mode in every start_writing_to_stdio_file call 2011-07-19 11:11:34 -04:00
geoip.h Allow controllers a more up-to-date view of bridge usage. 2011-04-07 11:53:37 -04:00
hibernate.c Fix typo, spotted by tmpname0901. Thanks! 2011-10-28 09:52:24 -04:00
hibernate.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
main.c Merge remote-tracking branch 'public/cov_run224_022' into maint-0.2.2 2011-10-26 11:07:28 -04:00
main.h Expose a new process_signal(uintptr_t), not signal_callback() 2011-04-26 15:20:08 -04:00
Makefile.am Ouch: correctly tabify the micro-revision.i target in Makefile.am (0.2.1 only) 2011-04-19 12:29:20 -04:00
microdesc.c Merge remote-tracking branch 'public/bug3122_memcmp_022' into maint-0.2.2 2011-05-12 19:25:14 -04:00
microdesc.h Rebuild the microdesc cache when a sufficient number of bytes are dropped 2011-05-03 17:03:49 -04:00
networkstatus.c Add a VoteOnHidServDirectoriesV2 configuration option 2011-06-03 12:16:55 -04:00
networkstatus.h Sanity-check consensus param values 2011-01-15 19:42:17 +01:00
ntmain.c Doxygen documentation for about 100 things that didn't have any 2011-03-16 17:05:37 -04:00
ntmain.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
onion.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
onion.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
or.h Add option to give guard flag to relays without the CVE-2011-2768 fix 2011-10-26 23:56:47 +02:00
policies.c Don't use signed 1-bit bitfields 2011-06-08 21:30:41 +02:00
policies.h Don't let bad DNS make exit policy and declared exit policy get out of sync 2011-02-22 14:06:28 -05:00
reasons.c Send END_STREAM_REASON_NOROUTE: clients that didn't grok it are now obsolete 2011-03-28 13:42:59 -04:00
reasons.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
relay.c Use %f with printf-style formatting, not %lf 2011-08-30 20:44:42 -04:00
relay.h Move the decl for tor_gettimofday_cache_clear to the right header 2011-03-16 17:54:48 -04:00
rendclient.c Remove an extraneous "if" in the 4424 fix 2011-11-07 11:46:51 -05:00
rendclient.h Refactor HS client state-clearing code into a separate function 2011-06-02 02:57:29 -07:00
rendcommon.c Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 2011-07-01 12:55:23 -04:00
rendcommon.h Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 2011-05-16 14:49:55 -04:00
rendmid.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
rendmid.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
rendservice.c Include HiddenServiceDir in some warning messages 2011-11-07 17:02:50 -08:00
rendservice.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
rephist.c Use %f with printf-style formatting, not %lf 2011-08-30 20:44:42 -04:00
rephist.h Use observed instead of declared uptime for HSDir 2011-03-11 18:44:35 +01:00
router.c Don't crash a bridge authority on SIGHUP if it's not in the consensus 2011-10-26 22:09:44 +02:00
router.h Fix unit test failure in dir/formats 2011-06-02 13:44:33 +02:00
routerlist.c Use %f with printf-style formatting, not %lf 2011-08-30 20:44:42 -04:00
routerlist.h When there is a transition in permitted nodes, apply it to trackexithosts map 2011-04-26 23:54:17 -04:00
routerparse.c Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 2011-11-07 10:42:34 -05:00
routerparse.h Make tor_version_same_series non-static 2011-10-26 23:36:30 +02:00
tor_main.c Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2 2011-01-03 11:51:17 -05:00