Re: misc_cache_init

Frank Cornelis (fcorneli@elis.rug.ac.be)
Thu, 6 Dec 2001 15:51:47 +0100 (CET)


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/