From: Joe Perches Subject: Re: [PATCH] Export symbol ksize() Date: Mon, 16 Feb 2009 08:32:32 -0800 Message-ID: <1234801952.20430.33.camel@localhost> References: <1234272104-10211-1-git-send-email-kirill@shutemov.name> <84144f020902100535i4d626a9fj8cbb305120cf332a@mail.gmail.com> <20090210134651.GA5115@epbyminw8406h.minsk.epam.com> <20090216135643.GA6927@cmpxchg.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Pekka J Enberg , "Kirill A. Shutemov" , Christoph Lameter , Matt Mackall , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-crypto@vger.kernel.org, Herbert Xu , Geert.Uytterhoeven@sonycom.com To: Johannes Weiner Return-path: In-Reply-To: <20090216135643.GA6927@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-Id: linux-crypto.vger.kernel.org On Mon, 2009-02-16 at 14:56 +0100, Johannes Weiner wrote: > One problem is that zeroing ksize() > bytes can have an overhead of nearly twice the actual allocation size. A possible good thing is when linux has a mechanism to use known zeroed memory in kzalloc or kcalloc, it's already good to go. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org