Thread (35 messages) flat view 35 messages, 5 authors, 2017-08-01

Re: [patch net-next 09/20] net: sched: convert actions array into rcu list

From: Cong Wang <hidden>
Date: 2017-07-31 21:07:35

On Fri, Jul 28, 2017 at 7:40 AM, Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

Currently the actions are stored in array with array size. To traverse
this array in fastpath, tcf_tree_lock is taken to protect it. Convert
the array into a singly linked list, similar to the filter chains style
and allow traversal protected by rcu.
Did you read commit 22dc13c837c33207548c8ee5116 ?

An action can't be shared by multiple filters if you put them
in a list (no matter singly or double), this is why I use pointers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help