aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-07-24 06:36:50 +0200
committerPablo Neira Ayuso <[email protected]>2014-07-24 13:07:25 +0200
commit7bd8490eef9776ced7632345df5133384b6be0fe (patch)
treecb5130cc165142998ac5729e8de9b26c622bb7e1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent5b96af7713546fca812682fed13cfad26d69fed7 (diff)
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 <[email protected]> Cc: Florian Westphal <[email protected]> Cc: Patrick McHardy <[email protected]> Reviewed-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions