Thread (14 messages) 14 messages, 4 authors, 2015-07-08

Re: [PATCH v3 net-next 7/7] net_sched: act_mirred: remove spinlock in fast path

flat view

From: Alexei Starovoitov <hidden>
Date: 2015-07-06 18:30:00

On 7/6/15 5:18 AM, Eric Dumazet wrote:
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<redacted>
Nice!
Acked-by: Alexei Starovoitov <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help