Re: recent names_cachep change

From: Alexander Viro (aviro@redhat.com)
Date: Thu Jul 27 2000 - 14:42:04 EST


On Thu, 27 Jul 2000, Tigran Aivazian wrote:

> Greetings Alexander,
>
> I am not sure if you have seen the recent discussion on linux-kernel about
> Ooopses in kmem_cache_alloc() which may suggest that there are users of
> getname() before names_cachep is created (due to module_init nature of
> namecache_init()).
>
> Have you given this some thought? I may be missing something obvious
> (e.g. you may have proved a theorem that _no_ getname() user is possible
> in principle before do_initcalls() is invoked?).

Not my patch. Yes, such scenarios are possible. I'll try to look through
that stuff, but it certainly looks like namecache_init() must be moved to
the group of explicit cache initializations (in kernel/main.c). Linus,
your opinion?
                                                Cheers,
                                                        Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:25 EST