Re: [Patch net-next v2] net_sched: get rid of rcu_barrier() in tcf_block_put_ext()

2017-12-05 Thread David Miller
From: Cong Wang Date: Mon, 4 Dec 2017 10:48:18 -0800 > Both Eric and Paolo noticed the rcu_barrier() we use in > tcf_block_put_ext() could be a performance bottleneck when > we have a lot of tc classes. > > Paolo provided the following to demonstrate the issue: ... > Tested-by: Paolo Abeni >

[Patch net-next v2] net_sched: get rid of rcu_barrier() in tcf_block_put_ext()

2017-12-04 Thread Cong Wang
Both Eric and Paolo noticed the rcu_barrier() we use in tcf_block_put_ext() could be a performance bottleneck when we have a lot of tc classes. Paolo provided the following to demonstrate the issue: tc qdisc add dev lo root htb for I in `seq 1 1000`; do tc class add dev lo parent 1: class