[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070126091606.GA23469@gondor.apana.org.au>
Date: Fri, 26 Jan 2007 20:16:06 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jarek Poplawski <jarkao2@...pl>
Cc: Masayuki Nakagawa <nakagawa.msy@...s.nec.co.jp>,
davem@...emloft.net, yoshfuji@...ux-ipv6.org, mhuth@...sta.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] TCP: Replace __kfree_skb() with kfree_skb()
On Fri, Jan 26, 2007 at 09:28:38AM +0100, Jarek Poplawski wrote:
>
> So maybe for some time there should be added skb->users
> test with a warning to reveal this?
Or just replace __kfree_skb by kfree_skb. The atomic operation (the
expensive part of kfree_skb vs. __kfree_skb) is only taken when it
is needed.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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