lkml.org 
[lkml]   [2001]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: misc_cache_init
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [from the cache]
©2003-2011 Jasper Spaans