On Tue, 2016-06-14 at 19:13 -0700, Cong Wang wrote: > No objection from me. It looks like a good optimization > before we can improve the qdisc root spinlock. > > Just one nit: You probably want to keep rtnl_kfree_skbs() > within qdisc layer unless you have any plan to use it > in other places.
I do not see other places freeing a lot of skbs under rtnl ;) As a side effect, using rtnl_kfree_skb() changes call graph given by drop monitor, so better avoid this unless really needed.