Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767189AbXEBSnA (ORCPT ); Wed, 2 May 2007 14:43:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767190AbXEBSnA (ORCPT ); Wed, 2 May 2007 14:43:00 -0400 Received: from smtp1.linux-foundation.org ([65.172.181.25]:40315 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767189AbXEBSm6 (ORCPT ); Wed, 2 May 2007 14:42:58 -0400 Date: Wed, 2 May 2007 11:42:33 -0700 From: Andrew Morton To: Christoph Lameter Cc: Hugh Dickins , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 2.6.22 -mm merge plans: slub Message-Id: <20070502114233.30143b0b.akpm@linux-foundation.org> In-Reply-To: References: <20070430162007.ad46e153.akpm@linux-foundation.org> <20070501125559.9ab42896.akpm@linux-foundation.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1443 Lines: 31 On Wed, 2 May 2007 11:28:26 -0700 (PDT) Christoph Lameter wrote: > On Wed, 2 May 2007, Hugh Dickins wrote: > > > On Wed, 2 May 2007, Christoph Lameter wrote: > > > > > > But these are arch specific problems. We could use > > > ARCH_USES_SLAB_PAGE_STRUCT to disable SLUB on these platforms. > > > > As a quick hack, sure. But every ARCH_USES_SLAB_PAGE_STRUCT > > diminishes the testing SLUB will get. If the idea is that we're > > going to support both SLAB and SLUB, some arches with one, some > > with another, some with either, for more than a single release, > > then I'm back to saying SLUB is being pushed in too early. > > I can understand people wanting pluggable schedulers, > > but pluggable slab allocators? > > This is a sensitive piece of the kernel as you say and we better allow the > running of two allocator for some time to make sure that it behaves in all > load situations. The design is fundamentally different so its performance > characteristics may diverge significantly and perhaps there will be corner > cases for each where they do the best job. eek. We'd need to fix those corner cases then. Our endgame here really must be rm mm/slab.c. - 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/