diff options
| author | Eric Dumazet <[email protected]> | 2015-07-06 05:18:09 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-08 13:50:42 -0700 |
| commit | 2ee22a90c7afac265bb6f7abea610b938195e2b8 (patch) | |
| tree | 586595f3aa88196669cbff3b6580353135c6e335 /tools/perf/scripts/python | |
| parent | 56e5d1ca183d8616fab377d7d466c244b4dbb3b9 (diff) | |
net_sched: act_mirred: remove spinlock in fast path
Like act_gact, act_mirred can be lockless in packet processing
1) Use percpu stats
2) update lastuse only every clock tick to avoid false sharing
3) use rcu to protect tcfm_dev
4) Remove spinlock usage, as it is no longer needed.
Next step : add multi queue capability to ifb device
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: John Fastabend <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions