Re: [PATCH] Export symbol ksize()

From: Herbert Xu
Date: Thu Feb 12 2009 - 05:51:31 EST


On Thu, Feb 12, 2009 at 12:45:21PM +0200, Pekka Enberg wrote:
>
> Because the API was being widely abused in the nommu code, for example.
> I'd rather not add it back for this special case which can be handled
> otherwise.

I'm sorry but that's like banning the use of heaters just because
they can abused and cause fires.

I think I've said this to you before but in networking we very much
want to use ksize because the standard case of a 1500-byte packet
has loads of extra room given by kmalloc which all goes to waste
right now.

If we could use ksize then we can stuff loads of metadata in that
space.

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/