[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1465964440.7945.190.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Tue, 14 Jun 2016 21:20:40 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH net-next 00/10] net_sched: defer skb freeing while
changing qdiscs
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.
Powered by blists - more mailing lists