[lkml]   [2001]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 ( The developer of ARM Linux

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:13    [W:0.020 / U:11.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site