Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbZIIOzE (ORCPT ); Wed, 9 Sep 2009 10:55:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753331AbZIIOzD (ORCPT ); Wed, 9 Sep 2009 10:55:03 -0400 Received: from smtp2.ultrahosting.com ([74.213.174.253]:56554 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752328AbZIIOzA (ORCPT ); Wed, 9 Sep 2009 10:55:00 -0400 Date: Wed, 9 Sep 2009 10:53:22 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@V090114053VZO-1 To: "Paul E. McKenney" cc: Eric Dumazet , Pekka Enberg , Zdenek Kabelac , Patrick McHardy , Robin Holt , Linux Kernel Mailing List , Jesper Dangaard Brouer , Linux Netdev List , Netfilter Developers , dhowells@redhat.com, lethal@linux-sh.org, kernel@wantstofly.org, mpm@selenic.com Subject: Re: [PATCH] slub: fix slab_pad_check() In-Reply-To: <20090909144238.GA6749@linux.vnet.ibm.com> Message-ID: References: <4AA00400.1030005@gmail.com> <20090903231757.GP6761@linux.vnet.ibm.com> <20090904204335.GG6751@linux.vnet.ibm.com> <20090908222036.GM6753@linux.vnet.ibm.com> <20090908225937.GO6753@linux.vnet.ibm.com> <20090909144238.GA6749@linux.vnet.ibm.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 15 On Wed, 9 Sep 2009, Paul E. McKenney wrote: > If the embedded guys are OK with an additional pointer in the slab data > structure, I have no objection to this approach. I am assuming that we > would use the usual ops-style structure full of pointers to functions > in order to avoid a pair of extra pointers. This would also allow us to get rid of the ctor pointer in kmem_cache_create(). We can put it into the same structure. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/