From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969937AbXEICUa (ORCPT ); Tue, 8 May 2007 22:20:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S969437AbXEICUO (ORCPT ); Tue, 8 May 2007 22:20:14 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:43343 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S968513AbXEICUL (ORCPT ); Tue, 8 May 2007 22:20:11 -0400 Date: Tue, 8 May 2007 19:20:10 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: David Miller , mpm@selenic.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree In-Reply-To: <46412D8D.8090903@yahoo.com.au> Message-ID: References: <20070508.185539.95059076.davem@davemloft.net> <20070508.190610.08324075.davem@davemloft.net> <46412D8D.8090903@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 May 2007, Nick Piggin wrote: > Right. You only need to know blob boundaries for free blobs (so you can > allocate from or merge to). For allocated blobs, you know the start > (which is the address of the memory), and the end (which is the start + > the size contained in kmem_cache structure). For kmalloc caches you will not have the object size on kfree. In that case the slob_t structure is needed before the object.