Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Dec 2001 06:05:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Dec 2001 06:05:38 -0500 Received: from www.deepbluesolutions.co.uk ([212.18.232.186]:47887 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 4 Dec 2001 06:05:23 -0500 Date: Tue, 4 Dec 2001 11:04:35 +0000 From: Russell King To: Frank Cornelis Cc: Linux Kernel Mailing list Subject: Re: misc_cache_init Message-ID: <20011204110435.C18147@flint.arm.linux.org.uk> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from fcorneli@elis.rug.ac.be on Mon, Dec 03, 2001 at 01:36:04PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2001 at 01:36:04PM +0100, Frank Cornelis wrote: > I looked at some past kernel mailings and it seems like some archs need > specific caches and others don't. In order to provide these > functionalities I suggest to add somewhere to init/main.c > misc_cache_init(); > and provide an initial > #define misc_cache_init() do {} while (0) > for every architecture. > Anyone agrees on this? We already have this under a slightly different name (Alan didn't merge it into Linus' kernel though from what I remember): pgtable_cache_init. This was used in -ac to initialise the ARM PTE slab, as well as the x86 PAE slabs immediately after the call to kmem_cache_sizes_init. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - 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/