From: Eric Dumazet Date: Thu, 24 Jul 2014 04:36:50 +0000 (+0200) Subject: netfilter: xt_hashlimit: perform garbage collection from process context X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~44^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd8490eef9776ced7632345df5133384b6be0fe;p=pandora-kernel.git netfilter: xt_hashlimit: perform garbage collection from process context xt_hashlimit cannot be used with large hash tables, because garbage collector is run from a timer. If table is really big, its possible to hold cpu for more than 500 msec, which is unacceptable. Switch to a work queue, and use proper scheduling points to remove latencies spikes. Later, we also could switch to a smoother garbage collection done at lookup time, one bucket at a time... Signed-off-by: Eric Dumazet Cc: Florian Westphal Cc: Patrick McHardy Reviewed-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed