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
>
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