[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090705034448.GA7588@gondor.apana.org.au>
Date: Sun, 5 Jul 2009 11:44:48 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: starlight@...nacle.cx, eric.dumazet@...il.com,
linux-kernel@...r.kernel.org, mel@....ul.ie, linux-mm@...ck.org,
hugh.dickins@...cali.co.uk, Lee.Schermerhorn@...com,
kosaki.motohiro@...fujitsu.com, ebmunson@...ibm.com,
agl@...ibm.com, apw@...onical.com, wli@...ementarian.org,
netdev@...r.kernel.org
Subject: Re: QUESTION: can netdev_alloc_skb() errors be reduced by tuning?
Eric Dumazet <eric.dumazet@...il.com> wrote:
>
> Because of slab rounding, this reallocation should be done only if resulting data
> portion is really smaller (50 %) than original skb.
If we're going to do this in the core then we should only do it
in the spots where the packet may be held indefinitely.
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists