From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by ug-out-1314.google.com with SMTP id s2so60873uge for ; Thu, 22 Feb 2007 01:49:18 -0800 (PST) Message-ID: <84144f020702220149m21543847ge6af27e0468a5c86@mail.gmail.com> Date: Thu, 22 Feb 2007 11:49:16 +0200 From: "Pekka Enberg" Subject: Re: [PATCH 08/29] mm: kmem_cache_objs_to_pages() In-Reply-To: <84144f020702220145h4f670ec6g428dc046ee9dcc71@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070221144304.512721000@taijtu.programming.kicks-ass.net> <20070221144842.299190000@taijtu.programming.kicks-ass.net> <84144f020702210747t50d7d92ei1a2f5da8bf117d40@mail.gmail.com> <1172136508.6374.41.camel@twins> <84144f020702220145h4f670ec6g428dc046ee9dcc71@mail.gmail.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, Trond Myklebust , Thomas Graf , David Miller List-ID: On 2/22/07, Pekka Enberg wrote: > So you are only interested in rough estimation of how much many pages > you need for a given amount of objects? Why not use ksize() for that > then? Uhm, I obviously meant, why not expose obj_size() instead. -- 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