From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx121.postini.com [74.125.245.121]) by kanga.kvack.org (Postfix) with SMTP id 3394F6B0044 for ; Thu, 17 May 2012 05:41:33 -0400 (EDT) Message-ID: <4FB4C755.6030106@parallels.com> Date: Thu, 17 May 2012 13:39:33 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [RFC] SL[AUO]B common code 8/9] slabs: list addition move to slab_common References: <20120514201544.334122849@linux.com> <20120514201613.467708800@linux.com> <4FB37CC9.3060102@parallels.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Pekka Enberg , linux-mm@kvack.org, David Rientjes , Matt Mackall On 05/16/2012 06:33 PM, Christoph Lameter wrote: >> > Also, the only reasons it exists, seems to be to go around the fact that the >> > slab already adds the kmalloc caches to a list in a slightly different way. >> > And there has to be cleaner ways to achieve that. > The reason it exists is to distinguish the case of an alias creation from > a true kmem_cache instatiation. The alias does not need to be added to the > list of slabs. > Worth a comment, then, maybe ? It tricked me a bit -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org