Re: [PATCH] Export symbol ksize()

From: Herbert Xu
Date: Thu Feb 12 2009 - 18:10:22 EST


On Fri, Feb 13, 2009 at 12:10:45AM +1100, Nick Piggin wrote:
>
> I would be interested to know how that goes. You always have this
> circular issue that if a little more space helps significantly, then
> maybe it is a good idea to explicitly ask for those bytes. Of course
> that larger allocation is also likely to have some slack bytes.

Well, the thing is we don't know apriori whether we need the
extra space. The idea is to use the extra space if available
to avoid reallocation when we hit things like IPsec.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/