[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1275904680.2545.44.camel@edumazet-laptop>
Date: Mon, 07 Jun 2010 11:58:00 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Sonic Zhang <sonic.adi@...il.com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
uclinux-dist-devel <uclinux-dist-devel@...ckfin.uclinux.org>
Subject: Re: [PATCH v2] netdev:bfin_mac: reclaim and free tx skb as soon as
possible after transfer
Le vendredi 04 juin 2010 à 12:44 +0800, Sonic Zhang a écrit :
>
> Yes, you are right. dev_kfree_skb_irq() queues used skb to the
> complete queue. But, it is actually freed in the other soft irq
> NET_TX_SOFTIRQ.
I guess you didnt understood my mail, so I'll re-explain :
dev_kfree_skb_irq() queues skb only if packet is not already orphaned.
As most packets are now orphaned (in recent kernels where your patch
applies), dev_kfree_skb_irq() can free packet immediately, with no
NET_TX_SOFTIRQ overhead.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists