Re: [RFC Patch net-next 1/6] net_sched: use RCU for action hash table

2016-09-06 Thread Cong Wang
On Tue, Sep 6, 2016 at 5:47 AM, Jamal Hadi Salim wrote: > On 16-09-02 01:57 AM, Cong Wang wrote: >> >> We already free tc actions in a RCU callback, so here >> we just need to convert the hash table operations to >> RCU API's. >> >> Cc: Jamal Hadi Salim >>

Re: [RFC Patch net-next 1/6] net_sched: use RCU for action hash table

2016-09-06 Thread Jamal Hadi Salim
On 16-09-02 01:57 AM, Cong Wang wrote: We already free tc actions in a RCU callback, so here we just need to convert the hash table operations to RCU API's. Cc: Jamal Hadi Salim Signed-off-by: Cong Wang This one stands on its own merit, no? So:

[RFC Patch net-next 1/6] net_sched: use RCU for action hash table

2016-09-01 Thread Cong Wang
We already free tc actions in a RCU callback, so here we just need to convert the hash table operations to RCU API's. Cc: Jamal Hadi Salim Signed-off-by: Cong Wang --- net/sched/act_api.c | 14 +++--- 1 file changed, 7 insertions(+), 7