On Thu, Jun 06, 2002 at 02:24:04PM +0200, Martin Josefsson wrote: > Here's the patch that lead up to the first patch (the renaming of > death_by_timeout and exporting it).
ah. now I understand what the exporting was all about :) > This patch adds a check to ip_ct_refresh() so it doesn't update the > timer of a connection unless it's been >HZ ticks since the last update. > both del_timer() and add_timer() disables interrupts while > removing/inserting the timer, no reason to do this for each packet. sounds interesting and should give quite some speedup. Did you do any benchmarking on that? > /Martin -- Live long and prosper - Harald Welte / [EMAIL PROTECTED] http://www.gnumonks.org/ ============================================================================ GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)