[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234454104.28812.175.camel@penberg-laptop>
Date: Thu, 12 Feb 2009 17:55:04 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: "Kirill A. Shutemov" <kirill@...temov.name>,
Christoph Lameter <cl@...ux-foundation.org>,
Matt Mackall <mpm@...enic.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-crypto@...r.kernel.org,
Geert.Uytterhoeven@...ycom.com
Subject: Re: [PATCH] Export symbol ksize()
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.
On Thu, 2009-02-12 at 18:50 +0800, Herbert Xu wrote:
> 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.
OK, fair enough, I applied Kirill's patch. Thanks.
Pekka
--
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