From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx135.postini.com [74.125.245.135]) by kanga.kvack.org (Postfix) with SMTP id 8A0036B0081 for ; Mon, 21 May 2012 05:23:21 -0400 (EDT) Message-ID: <4FBA090B.4070200@parallels.com> Date: Mon, 21 May 2012 13:21:15 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [RFC] Common code 03/12] Extract common fields from struct kmem_cache References: <20120518161906.207356777@linux.com> <20120518161928.691250633@linux.com> In-Reply-To: <20120518161928.691250633@linux.com> 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 , Joonsoo Kim , Alex Shi On 05/18/2012 08:19 PM, Christoph Lameter wrote: > Define "COMMON" to include definitions for fields used in all > slab allocators. After that it will be possible to share code that > only operates on those fields of kmem_cache. > > The patch basically takes the slob definition of kmem cache and > uses the field namees for the other allocators. > > The slob definition of kmem_cache is moved from slob.c to slob_def.h > so that the location of the kmem_cache definition is the same for > all allocators. > > Signed-off-by: Christoph Lameter Reviewed-by: Glauber Costa -- 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