[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e4e5c83c-d016-ee72-4e68-0966ccf9aaad@mojatatu.com>
Date: Sun, 30 Jul 2017 16:17:24 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: davem@...emloft.net, xiyou.wangcong@...il.com,
daniel@...earbox.net, mlxsw@...lanox.com
Subject: Re: [patch net-next 09/20] net: sched: convert actions array into rcu
list
On 17-07-28 10:40 AM, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...lanox.com>
>
> 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.
>
Looks sane. But lets have Cong provide an opinion (since he said he was
trying to rcu the actions).
cheers,
jamal
Powered by blists - more mailing lists