From: Herbert Xu Subject: Re: [PATCH] Export symbol ksize() Date: Thu, 12 Feb 2009 18:50:34 +0800 Message-ID: <20090212105034.GC13859@gondor.apana.org.au> References: <1234272104-10211-1-git-send-email-kirill@shutemov.name> <84144f020902100535i4d626a9fj8cbb305120cf332a@mail.gmail.com> <20090210134651.GA5115@epbyminw8406h.minsk.epam.com> <20090212104349.GA13859@gondor.apana.org.au> <1234435521.28812.165.camel@penberg-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Kirill A. Shutemov" , Christoph Lameter , Matt Mackall , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-crypto@vger.kernel.org, Geert.Uytterhoeven@sonycom.com To: Pekka Enberg Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:33836 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758113AbZBLKu5 (ORCPT ); Thu, 12 Feb 2009 05:50:57 -0500 Content-Disposition: inline In-Reply-To: <1234435521.28812.165.camel@penberg-laptop> Sender: linux-crypto-owner@vger.kernel.org List-ID: 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~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt