Re: misc_cache_init

From: Frank Cornelis (fcorneli@elis.rug.ac.be)
Date: Thu Dec 06 2001 - 09:51:47 EST


Hi,

> > 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.
>
> I started merging it then Linus said no more low priority bits
>
> > 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.
>
> its in Marcelo's tree I believe.

mmm... pgtable_cache_init is there for initing the pgtable cache, not
other misc caches; it would be confusing start putting other cache inits
inthere. Anyway I already solved my problem using
        __initcall(my_cache_init_func);
which is a nice way to init stuff.

Frank.

-
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/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:33 EST