From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 19 Jun 2007 15:29:57 -0700 From: Andrew Morton Subject: Re: [patch 10/26] SLUB: Faster more efficient slab determination for __kmalloc. Message-Id: <20070619152957.a03fbb2c.akpm@linux-foundation.org> In-Reply-To: References: <20070618095838.238615343@sgi.com> <20070618095915.826976488@sgi.com> <20070619130858.693ae66e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Pekka Enberg , suresh.b.siddha@intel.com List-ID: On Tue, 19 Jun 2007 15:22:36 -0700 (PDT) Christoph Lameter wrote: > On Tue, 19 Jun 2007, Andrew Morton wrote: > > > On Mon, 18 Jun 2007 02:58:48 -0700 > > clameter@sgi.com wrote: > > > > > + BUG_ON(KMALLOC_MIN_SIZE > 256 || > > > + (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); > > > > BUILD_BUG_ON? > > > Does not matter. That code is __init. Finding out at compile time is better. -- 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